Module: GogoKit::Configuration

Included in:
Client
Defined in:
lib/gogokit/configuration.rb

Overview

Configuration options for Client or falls back to Default

Instance Attribute Summary collapse

Instance Attribute Details

#api_root_endpointObject

The endpoint for the API root resource



12
13
14
# File 'lib/gogokit/configuration.rb', line 12

def api_root_endpoint
  @api_root_endpoint || GogoKit::Default::API_ROOT_ENDPOINT
end

#oauth_token_endpointObject

The endpoint for obtaining OAuth access tokens



17
18
19
# File 'lib/gogokit/configuration.rb', line 17

def oauth_token_endpoint
  @oauth_token_endpoint || GogoKit::Default::OAUTH_TOKEN_ENDPOINT
end