class Fog::Parsers::AWS::RDS::SnapshotParser

Public Instance Methods

end_element(name) click to toggle source
# File lib/fog/aws/parsers/rds/snapshot_parser.rb, line 18
def end_element(name)
  case name
  when 'AllocatedStorage', 'Port'
    @db_snapshot[name] = value.to_i
  when 'InstanceCreateTime', 'SnapshotCreateTime'
    @db_snapshot[name] = Time.parse(value)
  else
    @db_snapshot[name] = value
  end
end
fresh_snapshot() click to toggle source
# File lib/fog/aws/parsers/rds/snapshot_parser.rb, line 10
def fresh_snapshot
  {}
end
reset() click to toggle source
# File lib/fog/aws/parsers/rds/snapshot_parser.rb, line 6
def reset
  @db_snapshot = fresh_snapshot
end
start_element(name, attrs = []) click to toggle source
Calls superclass method
# File lib/fog/aws/parsers/rds/snapshot_parser.rb, line 14
def start_element(name, attrs = [])
  super
end