Class: WriteInvoice::Example

Inherits:
Object
  • Object
show all
Extended by:
Exmple
Defined in:
lib/write_invoice.rb

Class Method Summary collapse

Class Method Details

.generate(invoices_total: 3..6, articles_total: 2..6, debug: true) ⇒ Object



31
32
33
34
35
# File 'lib/write_invoice.rb', line 31

def self.generate( invoices_total: 3..6, articles_total: 2..6, debug: true ) 
  payload = examples_generate( invoices_total: invoices_total, articles_total: articles_total )
  debug ? puts( "Example       #{payload[:document][:encrypt][:user_password]}" ) : ''
  return payload
end