mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
28 lines
482 B
Ruby
28 lines
482 B
Ruby
|
module Fog
|
||
|
module AWS
|
||
|
class SNS
|
||
|
class Real
|
||
|
|
||
|
require 'fog/aws/parsers/sns/get_topic_attributes'
|
||
|
|
||
|
def get_topic_attributes(options = {})
|
||
|
request({
|
||
|
'Action' => 'GetTopicAttributes',
|
||
|
:parser => Fog::Parsers::AWS::SNS::GetTopicAttributes.new
|
||
|
}.merge!(options))
|
||
|
end
|
||
|
|
||
|
end
|
||
|
|
||
|
class Mock
|
||
|
|
||
|
def get_topic_attributes
|
||
|
Fog::Mock.not_implemented
|
||
|
end
|
||
|
|
||
|
end
|
||
|
|
||
|
end
|
||
|
end
|
||
|
end
|