class HttpSignatures::Key

Attributes

id[R]
secret[R]

Public Class Methods

new(id:, secret:) click to toggle source
# File lib/http_signatures/key.rb, line 4
def initialize(id:, secret:)
  @id = id
  @secret = secret
end

Public Instance Methods

==(other) click to toggle source
# File lib/http_signatures/key.rb, line 12
def ==(other)
  self.class == other.class &&
    self.id == other.id &&
    self.secret == other.secret
end