Class: Invoicer::Blinksale
- Inherits:
-
Object
- Object
- Invoicer::Blinksale
- Defined in:
- lib/services/blinksale.rb
Instance Attribute Summary collapse
-
#blinksale ⇒ Object
readonly
Returns the value of attribute blinksale.
-
#invoices ⇒ Object
readonly
Returns the value of attribute invoices.
Instance Method Summary collapse
-
#initialize(*args) ⇒ Blinksale
constructor
A new instance of Blinksale.
Constructor Details
#initialize(*args) ⇒ Blinksale
Returns a new instance of Blinksale.
8 9 10 11 |
# File 'lib/services/blinksale.rb', line 8 def initialize(*args) @blinksale = ::Blinksale::Client.new(*args) @invoices = Invoicer::BlinksaleInvoiceManager.new(self) end |
Instance Attribute Details
#blinksale ⇒ Object (readonly)
Returns the value of attribute blinksale.
5 6 7 |
# File 'lib/services/blinksale.rb', line 5 def blinksale @blinksale end |
#invoices ⇒ Object (readonly)
Returns the value of attribute invoices.
6 7 8 |
# File 'lib/services/blinksale.rb', line 6 def invoices @invoices end |