Class: BaremetricsAPI::Constants
- Inherits:
-
Object
- Object
- BaremetricsAPI::Constants
- Defined in:
- lib/baremetrics_api/constants.rb
Constant Summary collapse
- API_HOST =
'https://api.baremetrics.com/v1'.freeze
- SANDBOX_API_HOST =
'https://api-sandbox.baremetrics.com/v1'.freeze
- CONFIG_KEYS =
[:api_key, :response_limit, :sandbox, :log_traffic].freeze
- DEFAULT_RESPONSE_LIMIT =
30
- ENDPOINT_CLASSES =
Endpoints
[BaremetricsAPI::Endpoint::Account, BaremetricsAPI::Endpoint::Annotations, BaremetricsAPI::Endpoint::Charges, BaremetricsAPI::Endpoint::Customers, BaremetricsAPI::Endpoint::Events, BaremetricsAPI::Endpoint::Goals, BaremetricsAPI::Endpoint::Metrics, BaremetricsAPI::Endpoint::Plans, BaremetricsAPI::Endpoint::Sources, BaremetricsAPI::Endpoint::Subscriptions, BaremetricsAPI::Endpoint::Users].freeze