Class: Fjords::Token

Inherits:
Object
  • Object
show all
Defined in:
lib/fjords-client/fjords-client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#tokenObject (readonly)

Returns the value of attribute token.



14
15
16
# File 'lib/fjords-client/fjords-client.rb', line 14

def token
  @token
end