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://api.procore.com".freeze
- USER_AGENT =
Default User Agent header string
"Procore Ruby Gem #{Procore::VERSION}".freeze
- BATCH_SIZE =
Default size to use for batch requests
500
- DEFAULT_VERSION =
Default API version to use
"v1.0"
Class Method Summary collapse
Class Method Details
.client_options ⇒ Object
18 19 20 21 22 23 24 |
# File 'lib/procore/defaults.rb', line 18 def self. { host: Procore.configuration.host, user_agent: Procore.configuration.user_agent, default_version: Procore.configuration.default_version, } end |