Sha256: 5646fffbe38089ed3a4fc6e0ce68dcb6112dc8b7a7bf14180ad4affcb372815a

Contents?: true

Size: 917 Bytes

Versions: 3

Compression:

Stored size: 917 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, account_id = nil)
    Client.new(token, account_id)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
myfinance-0.3.3 lib/myfinance.rb
myfinance-0.3.2 lib/myfinance.rb
myfinance-0.3.1 lib/myfinance.rb