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

- (Base) initialize(factory)

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

- (Object) date

Returns the value of attribute date



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

def date
  @date
end

- (Object) factory (readonly)

Returns the value of attribute factory



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

def factory
  @factory
end

- (Object) header

Returns the value of attribute header



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

def header
  @header
end

- (Object) id

Returns the value of attribute id



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

def id
  @id
end

- (Object) name

Returns the value of attribute name



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

def name
  @name
end

- (Object) rows

Returns the value of attribute rows



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

def rows
  @rows
end

- (Object) sections

Returns the value of attribute sections



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

def sections
  @sections
end

- (Object) summary

Returns the value of attribute summary



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

def summary
  @summary
end

- (Object) titles

Returns the value of attribute titles



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

def titles
  @titles
end

- (Object) type

Returns the value of attribute type



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

def type
  @type
end

- (Object) updated_at

Returns the value of attribute updated_at



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

def updated_at
  @updated_at
end