Class: Fog::AWS::RDS::InstanceOptions
- Inherits:
-
PagedCollection
- Object
- PagedCollection
- Fog::AWS::RDS::InstanceOptions
- Defined in:
- lib/fog/aws/models/rds/instance_options.rb
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.
Constructor Details
#initialize(attributes) ⇒ InstanceOptions
Returns a new instance of InstanceOptions.
12 13 14 15 |
# File 'lib/fog/aws/models/rds/instance_options.rb', line 12 def initialize(attributes) self.filters ||= {} super end |
Instance Method Details
#all(filters = filters) ⇒ Object
This method deliberately returns only a single page of results
18 19 20 21 22 23 24 |
# File 'lib/fog/aws/models/rds/instance_options.rb', line 18 def all(filters=filters) self.filters.merge!(filters) result = service.(engine, self.filters).body['DescribeOrderableDBInstanceOptionsResult'] self.filters[:marker] = result['Marker'] load(result['OrderableDBInstanceOptions']) end |