Sha256: cb096702a0850a9737982e442e3b928ea9990a3983a8d451df699c7b27b74e36

Contents?: true

Size: 887 Bytes

Versions: 3

Compression:

Stored size: 887 Bytes

Contents

require "typhoeus"
require "multi_json"

require "myfinance/version"
require "myfinance/configuration"
require "myfinance/http"
require "myfinance/client"

require "myfinance/entities/base"
require "myfinance/entities/collection"
require "myfinance/entities/entity"
require "myfinance/entities/entity_collection"
require "myfinance/entities/financial_account"
require "myfinance/entities/payable_account"
require "myfinance/entities/receivable_account"

require "myfinance/resources/base"
require "myfinance/resources/entity"
require "myfinance/resources/financial_account"
require "myfinance/resources/payable_account"
require "myfinance/resources/receivable_account"

module Myfinance
  def self.configuration
    @configuration ||=  Configuration.new
  end

  def self.configure
    yield(configuration) if block_given?
  end

  def self.client(token)
    Client.new(token)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
myfinance-0.3.0 lib/myfinance.rb
myfinance-0.2.0 lib/myfinance.rb
myfinance-0.1.0 lib/myfinance.rb