Class: SunatBooks::Ple::Buys

Inherits:
Base
  • Object
show all
Defined in:
lib/sunat_books/ple/buys.rb

Instance Attribute Summary

Attributes inherited from Base

#book_format, #file

Instance Method Summary collapse

Methods included from Utils

#book_code, #check_layout, #get_file, #get_value, #path, #ple_book_name

Methods included from CommonUtils

#available_value?

Constructor Details

#initialize(ruc, tickets, month, year, options = {}) ⇒ Buys

Returns a new instance of Buys.



8
9
10
11
# File 'lib/sunat_books/ple/buys.rb', line 8

def initialize(ruc, tickets, month, year, options = {})
  options[:book_format] = options[:book_format] || "8.1"
  super(ruc, tickets, month, year, options)
end