Module: Levelup::Templates::MerchantAuthenticated
- Included in:
- Requests::GetLocationMerchantFundedCredit, Requests::GetOrder, Requests::GiveMerchantCredit, Requests::ListLocations, Requests::ListOrders, Requests::RefundOrder
- Defined in:
- lib/levelup/templates/merchant_authenticated.rb
Overview
A template to apply to any requests requiring v15 merchant authentication. If your request requires v14 merchant authentication, include this module and define auth_type as :merchant_v14. Authentication template - only apply one authentication template per request.
Instance Attribute Summary collapse
-
#merchant_access_token ⇒ Object
An access token for a merchant that has granted you ‘manage_merchant_orders’ permissions.
Instance Method Summary collapse
Instance Attribute Details
#merchant_access_token ⇒ Object
An access token for a merchant that has granted you ‘manage_merchant_orders’ permissions.
9 10 11 |
# File 'lib/levelup/templates/merchant_authenticated.rb', line 9 def merchant_access_token @merchant_access_token end |
Instance Method Details
#auth_type ⇒ Object
11 12 13 |
# File 'lib/levelup/templates/merchant_authenticated.rb', line 11 def auth_type :merchant end |