Module: Billogram
- Defined in:
- lib/billogram.rb,
lib/billogram/error.rb,
lib/billogram/client.rb,
lib/billogram/request.rb,
lib/billogram/version.rb,
lib/billogram/relation.rb,
lib/billogram/resource.rb,
lib/billogram/resources/tax.rb,
lib/billogram/resources/data.rb,
lib/billogram/resources/info.rb,
lib/billogram/resources/item.rb,
lib/billogram/resources/event.rb,
lib/billogram/relation_builder.rb,
lib/billogram/resources/address.rb,
lib/billogram/resources/contact.rb,
lib/billogram/resources/invoice.rb,
lib/billogram/resources/payment.rb,
lib/billogram/resources/customer.rb,
lib/billogram/resources/settings.rb,
lib/billogram/resources/callbacks.rb,
lib/billogram/resources/bookkeeping.rb,
lib/billogram/resources/detailed_sums.rb,
lib/billogram/resources/regional_sweden.rb,
lib/billogram/resources/invoice_defaults.rb,
lib/billogram/resources/domestic_bank_account.rb,
lib/billogram/resources/international_bank_account.rb
Defined Under Namespace
Classes: Address, Bookkeeping, Callbacks, Client, Contact, Customer, Data, DetailedSums, DomesticBankAccount, Error, Event, Info, InternationalBankAccount, Invoice, InvoiceDefaults, Item, Payment, RegionalSweden, Relation, RelationBuilder, Request, Resource, Settings, Tax
Constant Summary collapse
- VERSION =
"0.4.1"
Class Attribute Summary collapse
-
.base_uri ⇒ Object
Returns the value of attribute base_uri.
-
.password ⇒ Object
Returns the value of attribute password.
-
.username ⇒ Object
Returns the value of attribute username.
Class Method Summary collapse
Class Attribute Details
.base_uri ⇒ Object
Returns the value of attribute base_uri.
30 31 32 |
# File 'lib/billogram.rb', line 30 def base_uri @base_uri end |
.password ⇒ Object
Returns the value of attribute password.
30 31 32 |
# File 'lib/billogram.rb', line 30 def password @password end |
.username ⇒ Object
Returns the value of attribute username.
30 31 32 |
# File 'lib/billogram.rb', line 30 def username @username end |
Class Method Details
.client ⇒ Object
32 33 34 |
# File 'lib/billogram.rb', line 32 def client @client ||= Client.new(username, password, base_uri) end |
.configure {|_self| ... } ⇒ Object
36 37 38 |
# File 'lib/billogram.rb', line 36 def configure yield self if block_given? end |