Class: Stattleship::Configuration
- Inherits:
-
Object
- Object
- Stattleship::Configuration
- Defined in:
- lib/stattleship/client/configuration.rb
Instance Attribute Summary collapse
-
#api_token ⇒ Object
Returns the value of attribute api_token.
- #base_uri ⇒ Object
-
#http ⇒ Object
readonly
Returns the value of attribute http.
Instance Attribute Details
#api_token ⇒ Object
Returns the value of attribute api_token.
19 20 21 |
# File 'lib/stattleship/client/configuration.rb', line 19 def api_token @api_token end |
#base_uri ⇒ Object
31 32 33 |
# File 'lib/stattleship/client/configuration.rb', line 31 def base_uri @base_uri ||= URI('https://api.stattleship.com') end |
#http ⇒ Object (readonly)
Returns the value of attribute http.
20 21 22 |
# File 'lib/stattleship/client/configuration.rb', line 20 def http @http end |