class Incentivale::Auth

Attributes

client[RW]

Public Class Methods

new(client) click to toggle source
# File lib/incentivale/auth.rb, line 5
def initialize(client)
  @client = client
end

Public Instance Methods

header() click to toggle source
# File lib/incentivale/auth.rb, line 9
def header
  "Bearer #{client.current_token.access_token}"
end