Skip to content

Commit

Permalink
Add == method for auth scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
mullermp committed Jul 22, 2024
1 parent 624f113 commit 460c999
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions hearth/lib/hearth/endpoint_rules.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ def initialize(scheme_id:, properties: {})
# Additional properties of the authentication scheme.
# @return [Hash]
attr_accessor :properties

# @return [Boolean]
def ==(other)
scheme_id == other.scheme_id && properties == other.properties
end
end

# An Endpoint resolved by an EndpointProvider
Expand Down

0 comments on commit 460c999

Please sign in to comment.