class FrederickAPI::Configuration

You may use `FrederickAPI.configure` to configure the Frederick Internal API Gem or you can use environment variables. By default, the client will connect to staging with a blank API key. @see .configure

Constants

DEFAULTS

Attributes

api_key[RW]
base_url[RW]
public_base_url[RW]

Public Class Methods

new() click to toggle source
# File lib/frederick_api/configuration.rb, line 23
def initialize
  @base_url = DEFAULTS[:base_url]
  @public_base_url = DEFAULTS[:public_base_url]
  @api_key = DEFAULTS[:api_key]
end