Module: Billogram
- Defined in:
- lib/billogram.rb,
lib/billogram/error.rb,
lib/billogram/client.rb,
lib/billogram/version.rb,
lib/billogram/resource.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/customer.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/delivery_address.rb more...
Defined Under Namespace
Classes: Address, Bookkeeping, Callbacks, Client, Contact, Customer, Data, DeliveryAddress, DetailedSums, Error, Event, Info, Invoice, Item, RegionalSweden, RelationBuilder, Resource
Constant Summary collapse
- VERSION =
"0.3.6"
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
permalink .base_uri ⇒ Object
Returns the value of attribute base_uri.
25 26 27 |
# File 'lib/billogram.rb', line 25 def base_uri @base_uri end |
permalink .password ⇒ Object
Returns the value of attribute password.
25 26 27 |
# File 'lib/billogram.rb', line 25 def password @password end |
permalink .username ⇒ Object
Returns the value of attribute username.
25 26 27 |
# File 'lib/billogram.rb', line 25 def username @username end |
Class Method Details
permalink .client ⇒ Object
[View source]
27 28 29 |
# File 'lib/billogram.rb', line 27 def client @client ||= Client.new(username, password, base_uri) end |
permalink .configure {|_self| ... } ⇒ Object
31 32 33 |
# File 'lib/billogram.rb', line 31 def configure yield self if block_given? end |