Sha256: e02077b7333e7e9ada5b911dd2e78f486076633e9ab65292c50f8548ff704e2b

Contents?: true

Size: 1.32 KB

Versions: 1

Compression:

Stored size: 1.32 KB

Contents

require "httparty"
require "billogram/client"
require "billogram/endpoint"
require "billogram/error"
require "billogram/relation"
require "billogram/relation_builder"
require "billogram/resource"
require "billogram/request"
require "billogram/resources/address"
require "billogram/resources/automatic_reminder"
require "billogram/resources/bookkeeping"
require "billogram/resources/callbacks"
require "billogram/resources/contact"
require "billogram/resources/customer"
require "billogram/resources/data"
require "billogram/resources/detailed_sums"
require "billogram/resources/domestic_bank_account"
require "billogram/resources/event"
require "billogram/resources/info"
require "billogram/resources/international_bank_account"
require "billogram/resources/invoice"
require "billogram/resources/invoice_defaults"
require "billogram/resources/item"
require "billogram/resources/logotype"
require "billogram/resources/payment"
require "billogram/resources/regional_sweden"
require "billogram/resources/report"
require "billogram/resources/settings"
require "billogram/resources/tax"
require "billogram/version"

module Billogram
  class << self
    attr_accessor :username, :password, :base_uri

    def client
      @client ||= Client.new(username, password, base_uri)
    end

    def configure
      yield self if block_given?
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
billogram-0.4.2 lib/billogram.rb