Class: Levelup::Requests::GetOrder
- Inherits:
-
Base
- Object
- Templates::DataParcel
- Base
- Levelup::Requests::GetOrder
- Includes:
- Templates::MerchantAuthenticated
- Defined in:
- lib/levelup/requests/get_order.rb
Overview
Represents a request to access information about a specific order under a merchant.
Constant Summary
Constants inherited from Base
Instance Attribute Summary
Attributes included from Templates::MerchantAuthenticated
Instance Method Summary collapse
Methods inherited from Base
#body, #headers, instance_variables_excluded_from_hash, #send_to_api
Methods inherited from Templates::DataParcel
excluded?, #initialize, instance_variables_excluded_from_hash
Constructor Details
This class inherits a constructor from Levelup::Templates::DataParcel
Instance Method Details
#auth_type ⇒ Object
7 8 9 |
# File 'lib/levelup/requests/get_order.rb', line 7 def auth_type :merchant_v14 end |
#response_from_hash(hash) ⇒ Object
11 12 13 |
# File 'lib/levelup/requests/get_order.rb', line 11 def response_from_hash(hash) Responses::Success.new(hash['order']) end |