sue445/pixela

View on GitHub
lib/pixela.rb

Summary

Maintainability
A
0 mins
Test Coverage
require "pixela/version"
require "faraday"
require "faraday/mashify"
require "faraday_curl"
require "date"

module Pixela
  autoload :Client,        "pixela/client"
  autoload :Configuration, "pixela/configuration"
  autoload :Graph,         "pixela/graph"
  autoload :Pixel,         "pixela/pixel"
  autoload :Response,      "pixela/response"
  autoload :Webhook,       "pixela/webhook"

  # @return [Pixela::Configuration]
  def self.config
    @config ||= Configuration.new
  end

  class PixelaError < StandardError
  end
end