module Aptible::BillForward::Defaults

Public Instance Methods

access_token() click to toggle source
# File lib/aptible/billforward/defaults.rb, line 6
def access_token
  Aptible::BillForward.configuration.access_token
end
api_endpoint() click to toggle source
# File lib/aptible/billforward/defaults.rb, line 10
def api_endpoint
  Aptible::BillForward.configuration.root_url
end
connection_options() click to toggle source
# File lib/aptible/billforward/defaults.rb, line 22
def connection_options
  {
    headers: {
      accept: media_type,
      user_agent: user_agent
    }
  }
end
media_type() click to toggle source
# File lib/aptible/billforward/defaults.rb, line 18
def media_type
  'application/json'
end
user_agent() click to toggle source
# File lib/aptible/billforward/defaults.rb, line 14
def user_agent
  "aptible-billforward Ruby Gem #{Aptible::BillForward::VERSION}"
end