class Phaxio::Config

Constants

DEFAULT_API_ENDPOINT

Attributes

api_endpoint[W]

The Phaxio API endpoint. Users generally shouldn't need to change it. Defaults to api.phaxio.com/v2/

api_key[RW]

Your Phaxio API key. This will be used for all interactions with the Phaxio API.

To find your API key, visit console.phaxio.com/api_credentials

api_secret[RW]

Your Phaxio API secret. This will be used for all interactions with the Phaxio API.

To find your API secret, visit console.phaxio.com/api_credentials

callback_token[RW]

Your Phaxio callback token. This will be used to verify that callback requests are coming from Phaxio.

To find your callback token, visit console.phaxio.com/user/callbacks/edit

Public Class Methods

api_endpoint() click to toggle source
# File lib/phaxio/config.rb, line 26
def api_endpoint
  @api_endpoint || DEFAULT_API_ENDPOINT
end