Class: ZeroClick::Sellers::Stateful::Verify::Ok
- Inherits:
-
Object
- Object
- ZeroClick::Sellers::Stateful::Verify::Ok
- Defined in:
- lib/zeroclick/sellers/stateful/verify.rb
Instance Attribute Summary collapse
-
#kid ⇒ Object
readonly
Returns the value of attribute kid.
-
#timestamp ⇒ Object
readonly
Returns the value of attribute timestamp.
Instance Method Summary collapse
-
#initialize(kid:, timestamp:) ⇒ Ok
constructor
A new instance of Ok.
- #ok? ⇒ Boolean
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 = freeze end |
Instance Attribute Details
#kid ⇒ Object (readonly)
Returns the value of attribute kid.
36 37 38 |
# File 'lib/zeroclick/sellers/stateful/verify.rb', line 36 def kid @kid end |
#timestamp ⇒ Object (readonly)
Returns the value of attribute timestamp.
36 37 38 |
# File 'lib/zeroclick/sellers/stateful/verify.rb', line 36 def @timestamp end |
Instance Method Details
#ok? ⇒ Boolean
44 |
# File 'lib/zeroclick/sellers/stateful/verify.rb', line 44 def ok? = true |