Parent

Class/Module Index [+]

Quicksearch

Fog::Parsers::AWS::RDS::EventListParser

Public Instance Methods

end_element(name) click to toggle source
# File lib/fog/aws/parsers/rds/event_list.rb, line 22
def end_element(name)
  case name
  when 'Date'
    @event[name] = DateTime.parse(value.strip)
  when 'Message', 'SourceIdentifier', 'SourceType'
    @event[name] = value ? value.strip : name
  when 'Event'
    @response['Events'] << @event unless @event.empty?
  when 'IsTruncated', 'Marker', 'NextMarker'
    @response[name] = value
  else
    super
  end
end
reset() click to toggle source
# File lib/fog/aws/parsers/rds/event_list.rb, line 9
def reset
  super
  @response['Events'] = []
end
start_element(name, attrs = []) click to toggle source
# File lib/fog/aws/parsers/rds/event_list.rb, line 14
def start_element(name, attrs = [])
  super
  case name
  when 'Event'; then @event = {}
  end

end

[Validate]

Generated with the Darkfish Rdoc Generator 2.