Module: Levelup::Templates::UserAuthenticated
- Included in:
- Requests::CreateAddress, Requests::CreateCard, Requests::GetLocationCredit, Requests::GetQrCode, Requests::GetUser, Requests::ListAddresses, Requests::ListUserOrders
- Defined in:
- lib/levelup/templates/user_authenticated.rb
Overview
A template to apply to any requests requiring user authentication.
Authentication template - only apply one authentication template per request.
Instance Attribute Summary collapse
-
#user_access_token ⇒ Object
An access token for a user that has granted you appropriate permissions.
Instance Method Summary collapse
Instance Attribute Details
#user_access_token ⇒ Object
An access token for a user that has granted you appropriate permissions.
10 11 12 |
# File 'lib/levelup/templates/user_authenticated.rb', line 10 def user_access_token @user_access_token end |
Instance Method Details
#auth_type ⇒ Object
12 13 14 |
# File 'lib/levelup/templates/user_authenticated.rb', line 12 def auth_type :user end |