Class: Xeroizer::Report::Base

Inherits:
Object
  • Object
show all
Includes:
XmlHelper
Defined in:
lib/xeroizer/report/base.rb

Direct Known Subclasses

AgedReceivablesByContact

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from XmlHelper

included

Constructor Details

#initialize(factory) ⇒ Base

Returns a new instance of Base.



32
33
34
35
36
37
# File 'lib/xeroizer/report/base.rb', line 32

def initialize(factory)
  @titles = []
  @rows = []
  @sections = []
  @factory = factory
end

Instance Attribute Details

#dateObject

Returns the value of attribute date.



21
22
23
# File 'lib/xeroizer/report/base.rb', line 21

def date
  @date
end

#factoryObject (readonly)

Returns the value of attribute factory.



15
16
17
# File 'lib/xeroizer/report/base.rb', line 15

def factory
  @factory
end

#headerObject

Returns the value of attribute header.



26
27
28
# File 'lib/xeroizer/report/base.rb', line 26

def header
  @header
end

#idObject

Returns the value of attribute id.



17
18
19
# File 'lib/xeroizer/report/base.rb', line 17

def id
  @id
end

#nameObject

Returns the value of attribute name.



18
19
20
# File 'lib/xeroizer/report/base.rb', line 18

def name
  @name
end

#rowsObject

Returns the value of attribute rows.



24
25
26
# File 'lib/xeroizer/report/base.rb', line 24

def rows
  @rows
end

#sectionsObject

Returns the value of attribute sections.



28
29
30
# File 'lib/xeroizer/report/base.rb', line 28

def sections
  @sections
end

#summaryObject

Returns the value of attribute summary.



27
28
29
# File 'lib/xeroizer/report/base.rb', line 27

def summary
  @summary
end

#titlesObject

Returns the value of attribute titles.



20
21
22
# File 'lib/xeroizer/report/base.rb', line 20

def titles
  @titles
end

#typeObject

Returns the value of attribute type.



19
20
21
# File 'lib/xeroizer/report/base.rb', line 19

def type
  @type
end

#updated_atObject

Returns the value of attribute updated_at.



22
23
24
# File 'lib/xeroizer/report/base.rb', line 22

def updated_at
  @updated_at
end