Class: WalmartApIs::MiscApi
- Defined in:
- lib/walmart_ap_is/apis/misc_api.rb
Overview
MiscApi
Constant Summary
Constants inherited from BaseApi
Instance Attribute Summary
Attributes inherited from BaseApi
Instance Method Summary collapse
-
#new_request ⇒ ApiResponse
TODO: type endpoint description here.
Methods inherited from BaseApi
#initialize, #new_parameter, #new_request_builder, #new_response_handler, user_agent, user_agent_parameters
Constructor Details
This class inherits a constructor from WalmartApIs::BaseApi
Instance Method Details
#new_request ⇒ ApiResponse
TODO: type endpoint description here
11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/walmart_ap_is/apis/misc_api.rb', line 11 def new_request @api_call .request(new_request_builder(HttpMethodEnum::GET, '/', Server::SERVER_1) .auth(Single.new('basic'))) .response(new_response_handler .is_response_void(true) .is_api_response(true)) .execute end |