class Levelup::Requests::AuthenticateApp

Represents a request to generate an app access token.

Attributes

api_key[RW]

The API key assigned to your app

client_secret[RW]

The secret code assigned to your app

Public Instance Methods

auth_type() click to toggle source
# File lib/levelup/requests/authenticate_app.rb, line 10
def auth_type
  :none
end
response_from_hash(hash) click to toggle source
# File lib/levelup/requests/authenticate_app.rb, line 14
def response_from_hash(hash)
  Responses::Success.new(hash['access_token'])
end