Module: IntacctRB

Extended by:
IntacctRB
Included in:
IntacctRB
Defined in:
lib/intacctrb.rb,
lib/intacctrb/base.rb,
lib/intacctrb/bill.rb,
lib/intacctrb/logger.rb,
lib/intacctrb/vendor.rb,
lib/intacctrb/account.rb,
lib/intacctrb/contact.rb,
lib/intacctrb/invoice.rb,
lib/intacctrb/version.rb,
lib/intacctrb/customer.rb,
lib/intacctrb/employee.rb,
lib/intacctrb/ap_payment.rb,
lib/intacctrb/attachment.rb,
lib/intacctrb/journal_entry.rb,
lib/intacctrb/exceptions/base.rb,
lib/intacctrb/exceptions/bill.rb,
lib/intacctrb/exceptions/vendor.rb,
lib/intacctrb/ap_payment_request.rb,
lib/intacctrb/exceptions/ap_payment.rb,
lib/intacctrb/exceptions/attachment.rb

Defined Under Namespace

Modules: Exceptions Classes: APPayment, APPaymentRequest, Account, Attachment, Base, Bill, Contact, Customer, Employee, Invoice, JournalEntry, Vendor

Constant Summary collapse

VERSION =
"0.9.5"

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#app_company_idObject

Returns the value of attribute app_company_id.



38
39
40
# File 'lib/intacctrb.rb', line 38

def app_company_id
  @app_company_id
end

#app_passwordObject

Returns the value of attribute app_password.



38
39
40
# File 'lib/intacctrb.rb', line 38

def app_password
  @app_password
end

#app_user_idObject

Returns the value of attribute app_user_id.



38
39
40
# File 'lib/intacctrb.rb', line 38

def app_user_id
  @app_user_id
end

#bill_prefixObject

Returns the value of attribute bill_prefix.



38
39
40
# File 'lib/intacctrb.rb', line 38

def bill_prefix
  @bill_prefix
end

#customer_prefixObject

Returns the value of attribute customer_prefix.



38
39
40
# File 'lib/intacctrb.rb', line 38

def customer_prefix
  @customer_prefix
end

#invoice_prefixObject

Returns the value of attribute invoice_prefix.



38
39
40
# File 'lib/intacctrb.rb', line 38

def invoice_prefix
  @invoice_prefix
end

#vendor_prefixObject

Returns the value of attribute vendor_prefix.



38
39
40
# File 'lib/intacctrb.rb', line 38

def vendor_prefix
  @vendor_prefix
end

#xml_passwordObject

Returns the value of attribute xml_password.



38
39
40
# File 'lib/intacctrb.rb', line 38

def xml_password
  @xml_password
end

#xml_sender_idObject

Returns the value of attribute xml_sender_id.



38
39
40
# File 'lib/intacctrb.rb', line 38

def xml_sender_id
  @xml_sender_id
end

Class Method Details

.loggerObject



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

def self.logger
  @@logger ||= defined?(Rails) ? Rails.logger : Logger.new(STDOUT)
end

.logger=(logger) ⇒ Object



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

def self.logger=(logger)
  @@logger = logger
end

Instance Method Details

#setup {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (IntacctRB)

    the object that the method was called on



43
44
45
# File 'lib/intacctrb.rb', line 43

def setup
  yield self
end