Sha256: 647ca4f347e2147ed7928cfc603dc686dae8a8ccfac30c7631f24726a5a266e1
Contents?: true
Size: 691 Bytes
Versions: 20
Compression:
Stored size: 691 Bytes
Contents
module Fog module Parsers module AWS module SNS class ListSubscriptions < Fog::Parsers::Base def reset @response = { 'Subscriptions' => [] } @subscription = {} end def end_element(name) case name when "TopicArn", "Protocol", "SubscriptionArn", "Owner", "Endpoint" @subscription[name] = @value.rstrip when "member" @response['Subscriptions'] << @subscription @subscription = {} when 'RequestId', 'NextToken' @response[name] = @value.rstrip end end end end end end end
Version data entries
20 entries across 20 versions & 4 rubygems