class Armrest::Api::Main
Public Instance Methods
bearer_token(creds)
click to toggle source
# File lib/armrest/api/main.rb, line 30 def bearer_token(creds) "#{creds['token_type']} #{creds['access_token']}" end
headers()
click to toggle source
# File lib/armrest/api/main.rb, line 3 def headers { "Authorization" => authorization, "Content-Type" => "application/json", } end