Class: Fog::Parsers::AWS::RDS::CreateEventSubscription

Inherits:
EventSubscriptionParser show all
Defined in:
lib/fog/aws/parsers/rds/create_event_subscription.rb

Instance Method Summary collapse

Methods inherited from EventSubscriptionParser

#fresh_event_subscription

Instance Method Details

#end_element(name) ⇒ Object



18
19
20
21
22
23
24
25
26
27
# File 'lib/fog/aws/parsers/rds/create_event_subscription.rb', line 18

def end_element(name)
  case name
  when 'EventSubscription'
    @response['CreateEventSubscriptionResult']['EventSubscription'] = @event_subscription
  when 'RequestId'
    @response['ResponseMetadata'][name] = value
  else
    super
  end
end

#resetObject



8
9
10
11
12
# File 'lib/fog/aws/parsers/rds/create_event_subscription.rb', line 8

def reset
  @response = { 'CreateEventSubscriptionResult' => {}, 'ResponseMetadata' => {} }
  @event_subscription = {}
  super
end

#start_element(name, attrs = []) ⇒ Object



14
15
16
# File 'lib/fog/aws/parsers/rds/create_event_subscription.rb', line 14

def start_element(name, attrs = [])
  super
end