Module: Levelup::Templates::MerchantAuthenticated

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

Instance Method Summary collapse

Instance Attribute Details

#merchant_access_tokenObject

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_typeObject



11
12
13
# File 'lib/levelup/templates/merchant_authenticated.rb', line 11

def auth_type
  :merchant
end