Class: Packet::Configuration
- Inherits:
-
Object
- Object
- Packet::Configuration
- Defined in:
- lib/packet/configuration.rb
Instance Attribute Summary collapse
-
#auth_token ⇒ Object
Returns the value of attribute auth_token.
-
#consumer_token ⇒ Object
Returns the value of attribute consumer_token.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 |
# File 'lib/packet/configuration.rb', line 5 def initialize @url = 'https://api.packet.net'.freeze end |
Instance Attribute Details
#auth_token ⇒ Object
Returns the value of attribute auth_token.
3 4 5 |
# File 'lib/packet/configuration.rb', line 3 def auth_token @auth_token end |
#consumer_token ⇒ Object
Returns the value of attribute consumer_token.
3 4 5 |
# File 'lib/packet/configuration.rb', line 3 def consumer_token @consumer_token end |
#url ⇒ Object
Returns the value of attribute url.
3 4 5 |
# File 'lib/packet/configuration.rb', line 3 def url @url end |