Module: Dodgeball::Client::Defaults::Request
- Included in:
- Request
- Defined in:
- lib/dodgeball/client/defaults.rb
Constant Summary collapse
- HOST =
HOST/PORT Used for testing
'localhost'.freeze
- PORT =
3000.freeze
- PATH_ROOT =
'/v1/'.freeze
- DODGEBALL_API_URL =
'http://localhost:3000'.freeze
- DEFAULT_READ_TIMEOUT =
8.freeze
- DEFAULT_OPEN_TIMEOUT =
4.freeze
- SSL =
true.freeze
- HEADERS =
{ 'Accept' => 'application/json', 'Content-Type' => 'application/json', 'User-Agent' => "dodgeball-ruby/#{Client::VERSION}" }.freeze
- RETRIES =
10.freeze
- SECRET_KEY_HEADER =
'Dodgeball-Secret-Key'.freeze
- SOURCE_ID_HEADER =
'Dodgeball-Source-Id'.freeze
- VERIFICATION_ID_HEADER =
'Dodgeball-Verification-Id'.freeze