Class: ViewGroupDefinition
- Inherits:
-
Object
- Object
- ViewGroupDefinition
- Defined in:
- lib/apollo_commons_ruby/ViewGroupDefinition.rb
Instance Attribute Summary collapse
-
#projectId ⇒ Object
readonly
Returns the value of attribute projectId.
-
#requestBody ⇒ Object
readonly
Returns the value of attribute requestBody.
-
#tenantId ⇒ Object
readonly
Returns the value of attribute tenantId.
-
#viewGroupDefinition ⇒ Object
readonly
Returns the value of attribute viewGroupDefinition.
Instance Method Summary collapse
-
#initialize(configuration_json, view_group_definition) ⇒ ViewGroupDefinition
constructor
A new instance of ViewGroupDefinition.
Constructor Details
#initialize(configuration_json, view_group_definition) ⇒ ViewGroupDefinition
Returns a new instance of ViewGroupDefinition.
20 21 22 23 24 25 26 |
# File 'lib/apollo_commons_ruby/ViewGroupDefinition.rb', line 20 def initialize(configuration_json, view_group_definition) @tenantId = configuration_json["tenantId"] @projectId = configuration_json["projectId"] @viewGroupDefinition = view_group_definition view_group_definition_properties = File.read("./configs/" + view_group_definition + "/view_group_definition_properties.json") @requestBody = JSON.parse view_group_definition_properties end |
Instance Attribute Details
#projectId ⇒ Object (readonly)
Returns the value of attribute projectId.
16 17 18 |
# File 'lib/apollo_commons_ruby/ViewGroupDefinition.rb', line 16 def projectId @projectId end |
#requestBody ⇒ Object (readonly)
Returns the value of attribute requestBody.
18 19 20 |
# File 'lib/apollo_commons_ruby/ViewGroupDefinition.rb', line 18 def requestBody @requestBody end |
#tenantId ⇒ Object (readonly)
Returns the value of attribute tenantId.
15 16 17 |
# File 'lib/apollo_commons_ruby/ViewGroupDefinition.rb', line 15 def tenantId @tenantId end |
#viewGroupDefinition ⇒ Object (readonly)
Returns the value of attribute viewGroupDefinition.
17 18 19 |
# File 'lib/apollo_commons_ruby/ViewGroupDefinition.rb', line 17 def viewGroupDefinition @viewGroupDefinition end |