Class: Allorails::Request::ProductDetailRequest

Inherits:
ApiRequest
  • Object
show all
Defined in:
lib/allorails/request/request.rb

Overview

Class providing a product detail API request

Constant Summary collapse

PATH =
'/product'

Constants inherited from ApiRequest

ApiRequest::API_PATH, ApiRequest::MAPPING_FORMAT

Instance Method Summary collapse

Methods inherited from ApiRequest

#_build_parameters, #_call, #_encode_parameters, #_hash, #_is_http_post, #_path, #_sign, #_stringify_symbols, #call, #initialize

Constructor Details

This class inherits a constructor from Allorails::Request::ApiRequest

Instance Method Details

#_new_response(signature, headers, body) ⇒ Object



223
224
225
# File 'lib/allorails/request/request.rb', line 223

def _new_response(signature, headers, body)
  Allorails::Response::ProductDetailResponse.new(signature, headers, body)
end