Class: ZeroClick::Sellers::Stateful::MintKey
- Inherits:
-
Struct
- Object
- Struct
- ZeroClick::Sellers::Stateful::MintKey
- Defined in:
- lib/zeroclick/sellers/stateful/dispatch.rb
Overview
Mint outcomes. Separate types rather than a status code, so a handler cannot accidentally return a bare 200 for a key it did not mint.
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#key_expires_at ⇒ Object
Returns the value of attribute key_expires_at.
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key
27 28 29 |
# File 'lib/zeroclick/sellers/stateful/dispatch.rb', line 27 def api_key @api_key end |
#key_expires_at ⇒ Object
Returns the value of attribute key_expires_at
27 28 29 |
# File 'lib/zeroclick/sellers/stateful/dispatch.rb', line 27 def key_expires_at @key_expires_at end |