Class: ZeroClick::Sellers::Stateful::Verify::Ok

Inherits:
Object
  • Object
show all
Defined in:
lib/zeroclick/sellers/stateful/verify.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(kid:, timestamp:) ⇒ Ok

Returns a new instance of Ok.



38
39
40
41
42
# File 'lib/zeroclick/sellers/stateful/verify.rb', line 38

def initialize(kid:, timestamp:)
  @kid = kid
  @timestamp = timestamp
  freeze
end

Instance Attribute Details

#kidObject (readonly)

Returns the value of attribute kid.



36
37
38
# File 'lib/zeroclick/sellers/stateful/verify.rb', line 36

def kid
  @kid
end

#timestampObject (readonly)

Returns the value of attribute timestamp.



36
37
38
# File 'lib/zeroclick/sellers/stateful/verify.rb', line 36

def timestamp
  @timestamp
end

Instance Method Details

#ok?Boolean

Returns:

  • (Boolean)


44
# File 'lib/zeroclick/sellers/stateful/verify.rb', line 44

def ok? = true