Class: CocRb::Configuration
- Inherits:
-
Object
- Object
- CocRb::Configuration
- Defined in:
- lib/cocRb/gp.rb,
lib/cocRb/api.rb,
lib/cocRb/clan.rb,
lib/cocRb/labels.rb,
lib/cocRb/league.rb,
lib/cocRb/player.rb,
lib/cocRb/clanWar.rb,
lib/cocRb/utility.rb,
lib/cocRb/location.rb
Instance Attribute Summary collapse
-
#token ⇒ Object
Returns the value of attribute 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.
18 19 20 21 |
# File 'lib/cocRb/gp.rb', line 18 def initialize @token = nil @url = nil end |
Instance Attribute Details
#token ⇒ Object
Returns the value of attribute token.
16 17 18 |
# File 'lib/cocRb/gp.rb', line 16 def token @token end |
#url ⇒ Object
Returns the value of attribute url.
15 16 17 |
# File 'lib/cocRb/api.rb', line 15 def url @url end |