Class: Procore::Defaults

Inherits:
Object
  • Object
show all
Defined in:
lib/procore/defaults.rb

Overview

Specifies some sensible defaults for certain configurations + clients

Constant Summary collapse

API_ENDPOINT =

Default API endpoint

"https://app.procore.com".freeze
USER_AGENT =

Default User Agent header string

"Procore Ruby Gem #{Procore::VERSION}".freeze

Class Method Summary collapse

Class Method Details

.client_optionsObject



12
13
14
15
16
17
# File 'lib/procore/defaults.rb', line 12

def self.client_options
  {
    host: Procore.configuration.host,
    user_agent: Procore.configuration.user_agent,
  }
end