Class: Stattleship::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/stattleship/client/configuration.rb

Instance Attribute Summary collapse

Instance Attribute Details

#api_tokenObject

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_uriObject


31
32
33
# File 'lib/stattleship/client/configuration.rb', line 31

def base_uri
  @base_uri ||= URI('https://api.stattleship.com')
end

#httpObject (readonly)

Returns the value of attribute http


20
21
22
# File 'lib/stattleship/client/configuration.rb', line 20

def http
  @http
end