Module: Rubill

Defined in:
lib/rubill.rb,
lib/rubill/base.rb,
lib/rubill/query.rb,
lib/rubill/session.rb,
lib/rubill/entities/bill.rb,
lib/rubill/entities/item.rb,
lib/rubill/entities/vendor.rb,
lib/rubill/entities/invoice.rb,
lib/rubill/entities/customer.rb,
lib/rubill/entities/location.rb,
lib/rubill/entities/actg_class.rb,
lib/rubill/entities/attachment.rb,
lib/rubill/entities/bill_payment.rb,
lib/rubill/entities/sent_payment.rb,
lib/rubill/entities/customer_contact.rb,
lib/rubill/entities/received_payment.rb,
lib/rubill/entities/sent_bill_payment.rb

Defined Under Namespace

Classes: APIError, ActgClass, Attachment, Base, Bill, BillPayment, Configuration, Customer, CustomerContact, Invoice, Item, Location, Query, ReceivedPayment, SentBillPayment, SentPayment, Session, Vendor

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#configuration=(value) ⇒ Object (writeonly)

Sets the attribute configuration

Parameters:

  • value

    the value to set the attribute configuration to.



2
3
4
# File 'lib/rubill.rb', line 2

def configuration=(value)
  @configuration = value
end

Class Method Details

.configurationObject



8
9
10
# File 'lib/rubill.rb', line 8

def self.configuration
  @configuration ||= Configuration.new
end

.configure {|configuration| ... } ⇒ Object

Yields:



4
5
6
# File 'lib/rubill.rb', line 4

def self.configure(&block)
  yield(configuration)
end