Class: Sprites::Configuration
- Inherits:
-
Object
- Object
- Sprites::Configuration
- Defined in:
- lib/sprites/configuration.rb
Instance Attribute Summary collapse
-
#base_url ⇒ Object
Returns the value of attribute base_url.
-
#token ⇒ Object
Returns the value of attribute token.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
7 8 9 |
# File 'lib/sprites/configuration.rb', line 7 def initialize @base_url = "https://api.sprites.dev" end |
Instance Attribute Details
#base_url ⇒ Object
Returns the value of attribute base_url.
5 6 7 |
# File 'lib/sprites/configuration.rb', line 5 def base_url @base_url end |
#token ⇒ Object
Returns the value of attribute token.
5 6 7 |
# File 'lib/sprites/configuration.rb', line 5 def token @token end |