Sha256: 73a942359ecf744c84551875880c4960e4f13935cbd555e89df31ea8388df38c

Contents?: true

Size: 712 Bytes

Versions: 3

Compression:

Stored size: 712 Bytes

Contents

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

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

module Atrium
  BASE_URL = "https://vestibule.mx.com".freeze
  ##
  # 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
  # end
  #
  class << self
    attr_reader :client

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
atrium-ruby-0.3.0 lib/atrium.rb
atrium-ruby-0.2.3 lib/atrium.rb
atrium-ruby-0.2.2 lib/atrium.rb