Class: ZeroClick::Sellers::Stateful::MintKey

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#api_keyObject

Returns the value of attribute api_key

Returns:

  • (Object)

    the current value of api_key



27
28
29
# File 'lib/zeroclick/sellers/stateful/dispatch.rb', line 27

def api_key
  @api_key
end

#key_expires_atObject

Returns the value of attribute key_expires_at

Returns:

  • (Object)

    the current value of key_expires_at



27
28
29
# File 'lib/zeroclick/sellers/stateful/dispatch.rb', line 27

def key_expires_at
  @key_expires_at
end