Class: TemplateGroupDetails
- Inherits:
-
Object
- Object
- TemplateGroupDetails
- Defined in:
- lib/apollo_commons_ruby/TemplateDebug.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
-
#scopeId ⇒ Object
readonly
Returns the value of attribute scopeId.
-
#templateGroup ⇒ Object
readonly
Returns the value of attribute templateGroup.
-
#templates ⇒ Object
readonly
Returns the value of attribute templates.
-
#transformer ⇒ Object
readonly
Returns the value of attribute transformer.
Instance Method Summary collapse
-
#initialize(scopeId, templateGroup, transformer) ⇒ TemplateGroupDetails
constructor
A new instance of TemplateGroupDetails.
Constructor Details
#initialize(scopeId, templateGroup, transformer) ⇒ TemplateGroupDetails
Returns a new instance of TemplateGroupDetails.
13 14 15 16 17 18 19 20 21 22 |
# File 'lib/apollo_commons_ruby/TemplateDebug.rb', line 13 def initialize(scopeId, templateGroup, transformer) @templateGroup = templateGroup @scopeId = scopeId @transformer = transformer @templates = [] @body = JSON.parse "{}" @body["templateGroup"] = templateGroup @body["scopeId"] = scopeId @body["transformer"] = transformer end |
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body.
7 8 9 |
# File 'lib/apollo_commons_ruby/TemplateDebug.rb', line 7 def body @body end |
#scopeId ⇒ Object (readonly)
Returns the value of attribute scopeId.
9 10 11 |
# File 'lib/apollo_commons_ruby/TemplateDebug.rb', line 9 def scopeId @scopeId end |
#templateGroup ⇒ Object (readonly)
Returns the value of attribute templateGroup.
8 9 10 |
# File 'lib/apollo_commons_ruby/TemplateDebug.rb', line 8 def templateGroup @templateGroup end |
#templates ⇒ Object (readonly)
Returns the value of attribute templates.
11 12 13 |
# File 'lib/apollo_commons_ruby/TemplateDebug.rb', line 11 def templates @templates end |
#transformer ⇒ Object (readonly)
Returns the value of attribute transformer.
10 11 12 |
# File 'lib/apollo_commons_ruby/TemplateDebug.rb', line 10 def transformer @transformer end |