Methods

Class/Module Index [+]

Quicksearch

Fog::AWS::RDS::Parameters

Public Class Methods

new(attributes) click to toggle source
# File lib/fog/aws/models/rds/parameters.rb, line 13
def initialize(attributes)
  self.filters ||= {}
  if attributes[:source]
    filters[:source] = attributes[:source]
  end
  super
end

Public Instance Methods

all(filters = filters) click to toggle source
# File lib/fog/aws/models/rds/parameters.rb, line 21
def all(filters = filters)
  self.filters = filters
  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

[Validate]

Generated with the Darkfish Rdoc Generator 2.