Class: Fog::Parsers::Redshift::AWS::DescribeDefaultClusterParameters
- Inherits:
-
Base
- Object
- Nokogiri::XML::SAX::Document
- Base
- Fog::Parsers::Redshift::AWS::DescribeDefaultClusterParameters
- Defined in:
- lib/fog/aws/parsers/redshift/describe_default_cluster_parameters.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
- #end_element(name) ⇒ Object
-
#reset ⇒ Object
:marker - (String) :parameter_group_family - (String) :parameters - (Array) :parameter_name - (String) :parameter_value - (String) :description - (String) :source - (String) :data_type - (String) :allowed_values - (String) :is_modifiable - (Boolean) :minimum_engine_version - (String).
- #start_element(name, attrs = []) ⇒ Object
Methods inherited from Base
#attr_value, #characters, #end_element_namespace, #initialize, #start_element_namespace, #value
Constructor Details
This class inherits a constructor from Fog::Parsers::Base
Instance Method Details
#end_element(name) ⇒ Object
31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
# File 'lib/fog/aws/parsers/redshift/describe_default_cluster_parameters.rb', line 31 def end_element(name) super case name when 'Marker', 'ParameterGroupFamily' @response[name] = value when 'ParameterName', 'ParameterValue', 'Description', 'Source', 'DataType', 'AllowedValues', 'MinimumEngineVersion' @parameter[name] = value when 'IsModifiable' @parameter[name] = (value == "true") when 'Parameter' @response['Parameters'] << {name => @parameter} @parameter = {} end end |
#reset ⇒ Object
19 20 21 |
# File 'lib/fog/aws/parsers/redshift/describe_default_cluster_parameters.rb', line 19 def reset @response = { 'Parameters' => [] } end |
#start_element(name, attrs = []) ⇒ Object
23 24 25 26 27 28 29 |
# File 'lib/fog/aws/parsers/redshift/describe_default_cluster_parameters.rb', line 23 def start_element(name, attrs = []) super case name when 'Parameters' @parameter = {} end end |