class Fog::AWS::RDS::Parameters
Public Class Methods
new(attributes)
click to toggle source
Calls superclass method
# File lib/fog/aws/models/rds/parameters.rb, line 12 def initialize(attributes) self.filters ||= {} if attributes[:source] filters[:source] = attributes[:source] end super end
Public Instance Methods
all(filters_arg = filters)
click to toggle source
# File lib/fog/aws/models/rds/parameters.rb, line 20 def all(filters_arg = filters) filters = filters_arg result = [] marker = nil finished = false while !finished data = service.describe_db_parameters(group.id, filters.merge(:marker => marker)).body result.concat(data['DescribeDBParametersResult']['Parameters']) marker = data['DescribeDBParametersResult']['Marker'] finished = marker.nil? end load(result) # data is an array of attribute hashes end