Class: Xeroizer::Report::Base
- Inherits:
-
Object
- Object
- Xeroizer::Report::Base
- Includes:
- XmlHelper
- Defined in:
- lib/xeroizer/report/base.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#date ⇒ Object
Returns the value of attribute date.
-
#factory ⇒ Object
readonly
Returns the value of attribute factory.
-
#header ⇒ Object
Returns the value of attribute header.
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
-
#rows ⇒ Object
Returns the value of attribute rows.
-
#sections ⇒ Object
Returns the value of attribute sections.
-
#summary ⇒ Object
Returns the value of attribute summary.
-
#titles ⇒ Object
Returns the value of attribute titles.
-
#type ⇒ Object
Returns the value of attribute type.
-
#updated_at ⇒ Object
Returns the value of attribute updated_at.
Instance Method Summary collapse
-
#initialize(factory) ⇒ Base
constructor
A new instance of Base.
Methods included from XmlHelper
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
#date ⇒ Object
Returns the value of attribute date.
21 22 23 |
# File 'lib/xeroizer/report/base.rb', line 21 def date @date end |
#factory ⇒ Object (readonly)
Returns the value of attribute factory.
15 16 17 |
# File 'lib/xeroizer/report/base.rb', line 15 def factory @factory end |
#header ⇒ Object
Returns the value of attribute header.
26 27 28 |
# File 'lib/xeroizer/report/base.rb', line 26 def header @header end |
#id ⇒ Object
Returns the value of attribute id.
17 18 19 |
# File 'lib/xeroizer/report/base.rb', line 17 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
18 19 20 |
# File 'lib/xeroizer/report/base.rb', line 18 def name @name end |
#rows ⇒ Object
Returns the value of attribute rows.
24 25 26 |
# File 'lib/xeroizer/report/base.rb', line 24 def rows @rows end |
#sections ⇒ Object
Returns the value of attribute sections.
28 29 30 |
# File 'lib/xeroizer/report/base.rb', line 28 def sections @sections end |
#summary ⇒ Object
Returns the value of attribute summary.
27 28 29 |
# File 'lib/xeroizer/report/base.rb', line 27 def summary @summary end |
#titles ⇒ Object
Returns the value of attribute titles.
20 21 22 |
# File 'lib/xeroizer/report/base.rb', line 20 def titles @titles end |
#type ⇒ Object
Returns the value of attribute type.
19 20 21 |
# File 'lib/xeroizer/report/base.rb', line 19 def type @type end |
#updated_at ⇒ Object
Returns the value of attribute updated_at.
22 23 24 |
# File 'lib/xeroizer/report/base.rb', line 22 def updated_at @updated_at end |