Class: Chain::AccessToken
- Inherits:
-
ResponseObject
- Object
- ResponseObject
- Chain::AccessToken
- Defined in:
- lib/chain/access_token.rb
Defined Under Namespace
Classes: ClientModule
Instance Attribute Summary collapse
-
#created_at ⇒ Time
readonly
Timestamp of token creation.
-
#id ⇒ String
readonly
User specified, unique identifier.
-
#token ⇒ String
readonly
Only returned in the response from ClientModule#create.
- #type ⇒ String readonly deprecated Deprecated.
Method Summary
Methods inherited from ResponseObject
#[], #[]=, #initialize, #to_h, #to_json
Constructor Details
This class inherits a constructor from Chain::ResponseObject
Instance Attribute Details
#created_at ⇒ Time (readonly)
Timestamp of token creation.
27 |
# File 'lib/chain/access_token.rb', line 27 attrib :created_at, rfc3339_time: true |
#id ⇒ String (readonly)
User specified, unique identifier.
11 |
# File 'lib/chain/access_token.rb', line 11 attrib :id |
#token ⇒ String (readonly)
Only returned in the response from Chain::AccessToken::ClientModule#create.
16 |
# File 'lib/chain/access_token.rb', line 16 attrib :token |
#type ⇒ String (readonly)
Deprecated.
Either ‘client’ or ‘network’. Ignore in 1.2 or greater.
22 |
# File 'lib/chain/access_token.rb', line 22 attrib :type |