Class: Fjords::Token
- Inherits:
-
Object
- Object
- Fjords::Token
- Defined in:
- lib/fjords-client/fjords-client.rb
Instance Attribute Summary collapse
-
#token ⇒ Object
readonly
Returns the value of attribute token.
Instance Method Summary collapse
-
#initialize(token) ⇒ Token
constructor
A new instance of Token.
Constructor Details
#initialize(token) ⇒ Token
Returns a new instance of Token.
16 17 18 |
# File 'lib/fjords-client/fjords-client.rb', line 16 def initialize(token) @token = token end |
Instance Attribute Details
#token ⇒ Object (readonly)
Returns the value of attribute token.
14 15 16 |
# File 'lib/fjords-client/fjords-client.rb', line 14 def token @token end |