Class: Allorails::Request::OnetimeValidateCodesRequest
- Inherits:
-
ApiRequest
- Object
- ApiRequest
- Allorails::Request::OnetimeValidateCodesRequest
- Defined in:
- lib/allorails/request/request.rb
Overview
Class providing a onetime validate codes API request
Constant Summary collapse
- PATH =
'/onetime/validate-codes'
Constants inherited from ApiRequest
ApiRequest::API_PATH, ApiRequest::MAPPING_FORMAT
Instance Method Summary collapse
Methods inherited from ApiRequest
#_build_parameters, #_call, #_encode_parameters, #_hash, #_path, #_sign, #_stringify_symbols, #call, #initialize
Constructor Details
This class inherits a constructor from Allorails::Request::ApiRequest
Instance Method Details
#_is_http_post ⇒ Object
209 210 211 |
# File 'lib/allorails/request/request.rb', line 209 def _is_http_post true end |
#_new_response(signature, headers, body) ⇒ Object
213 214 215 |
# File 'lib/allorails/request/request.rb', line 213 def _new_response(signature, headers, body) Allorails::Response::OnetimeValidateCodesResponse.new(signature, headers, body) end |