Module: VariableContainer
- Included in:
- Study, VariableGroup
- Defined in:
- lib/nesstar-api/variable-container.rb
Instance Method Summary collapse
-
#get_variable_groups ⇒ Object
Gets a list of variable groups.
-
#get_variables ⇒ Object
Gets a list of variables.
Instance Method Details
#get_variable_groups ⇒ Object
Gets a list of variable groups.
14 15 16 17 18 19 |
# File 'lib/nesstar-api/variable-container.rb', line 14 def get_variable_groups json_variable_groups = get_values "#{get_rest_type}/#{@id}/#{get_variable_group_type}" json_variable_groups.collect do | variable_group_json | VariableGroup.new variable_group_json end end |