Sha256: 5e60c056bcf43f47a41c09a6995e8e7c19f753017a9aaa207fb0eedb743dbfae

Contents?: true

Size: 845 Bytes

Versions: 1

Compression:

Stored size: 845 Bytes

Contents

require "httparty"
require "billogram/client"
require "billogram/relation_builder"
require "billogram/resource"
require 'billogram/resources/address'
require 'billogram/resources/bookkeeping'
require 'billogram/resources/callback'
require 'billogram/resources/contact'
require 'billogram/resources/customer'
require 'billogram/resources/data'
require 'billogram/resources/delivery_address'
require 'billogram/resources/event'
require 'billogram/resources/info'
require 'billogram/resources/invoice'
require 'billogram/resources/item'
require 'billogram/resources/regional_sweden'
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.2.0 lib/billogram.rb