Class: Invoicer::Blinksale

Inherits:
Object
  • Object
show all
Defined in:
lib/services/blinksale.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#blinksaleObject (readonly)

Returns the value of attribute blinksale.



5
6
7
# File 'lib/services/blinksale.rb', line 5

def blinksale
  @blinksale
end

#invoicesObject (readonly)

Returns the value of attribute invoices.



6
7
8
# File 'lib/services/blinksale.rb', line 6

def invoices
  @invoices
end