Sha256: b61c8cb03ef0269373b2b2094cae7d73ad5875a6a925bd9683b20a12d2f64e55

Contents?: true

Size: 818 Bytes

Versions: 1

Compression:

Stored size: 818 Bytes

Contents

require "active_attr"
require "httpclient"
require "json"
require "atrium/paginate"

require "atrium/account"
require "atrium/client"
require "atrium/connect"
require "atrium/credential"
require "atrium/error"
require "atrium/institution"
require "atrium/challenge"
require "atrium/member"
require "atrium/transaction"
require "atrium/user"
require "atrium/version"

module Atrium
  ##
  # mx-api-key and mx-client-id are required for Atrium
  #
  # Atrium.configure do |config|
  #   config.mx_api_key = generated_api_key
  #   config.mx_client_id = generated_client_id
  #   config.base_url = "https://atrium.mx.com" # for production URL. this will default to vestibule
  # end
  #
  class << self
    attr_reader :client

    def configure
      @client = ::Atrium::Client.new
      yield @client
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
atrium-ruby-0.5.0 lib/atrium.rb