Class: Fog::AWS::RDS::InstanceOptions
- Inherits:
-
PagedCollection
- Object
- Array
- Collection
- PagedCollection
- Fog::AWS::RDS::InstanceOptions
- Defined in:
- lib/fog/aws/models/rds/instance_options.rb
Instance Attribute Summary
Attributes inherited from Collection
Instance Method Summary collapse
-
#all(filters = filters) ⇒ Object
This method deliberately returns only a single page of results.
-
#initialize(attributes) ⇒ InstanceOptions
constructor
A new instance of InstanceOptions.
Methods inherited from PagedCollection
Methods inherited from Collection
#clear, #create, #destroy, #inspect, #load, model, #model, #new, #reload, #table, #to_json
Methods included from Fog::Attributes::ClassMethods
#_load, #aliases, #attribute, #attributes, #identity, #ignore_attributes, #ignored_attributes
Methods included from Core::DeprecatedConnectionAccessors
#connection, #connection=, #prepare_service_value
Methods included from Fog::Attributes::InstanceMethods
#_dump, #attributes, #dup, #identity, #identity=, #merge_attributes, #new_record?, #persisted?, #requires, #requires_one
Constructor Details
#initialize(attributes) ⇒ InstanceOptions
Returns a new instance of InstanceOptions.
13 14 15 16 |
# File 'lib/fog/aws/models/rds/instance_options.rb', line 13 def initialize(attributes) self.filters ||= {} super end |
Instance Method Details
#all(filters = filters) ⇒ Object
This method deliberately returns only a single page of results
19 20 21 22 23 24 25 |
# File 'lib/fog/aws/models/rds/instance_options.rb', line 19 def all(filters=filters) self.filters.merge!(filters) result = service.(engine, self.filters).body['DescribeOrderableDBInstanceOptionsResult'] self.filters[:marker] = result['Marker'] load(result['OrderableDBInstanceOptions']) end |