Class: Procore::Defaults
- Inherits:
-
Object
- Object
- Procore::Defaults
- 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_options ⇒ Object
12 13 14 15 16 17 |
# File 'lib/procore/defaults.rb', line 12 def self. { host: Procore.configuration.host, user_agent: Procore.configuration.user_agent, } end |