Class: Callapi::Call::Request::Api
- Defined in:
- lib/callapi/call/request/api.rb
Constant Summary
Constants inherited from Http
Http::HTTP_METHOD_TO_REQUEST_CLASS
Instance Method Summary collapse
Methods inherited from Http
Methods included from Http::LogHelper
Methods inherited from Base
Constructor Details
This class inherits a constructor from Callapi::Call::Request::Base
Instance Method Details
#api_path_prefix ⇒ Object
6 7 8 |
# File 'lib/callapi/call/request/api.rb', line 6 def api_path_prefix Callapi::Config.api_path_prefix end |
#host ⇒ Object
2 3 4 |
# File 'lib/callapi/call/request/api.rb', line 2 def host Callapi::Config.api_host || raise(Callapi::ApiHostNotSetError) end |