Sha256: e27cd024152439cf90044d059e2a3d8a916ec276f98a7c70d99f4e595ad3d26a

Contents?: true

Size: 588 Bytes

Versions: 107

Compression:

Stored size: 588 Bytes

Contents

module Fog
  module AWS
    class SNS
      class Real

        require 'fog/aws/parsers/sns/create_topic'

        # Create a topic
        #
        # ==== Parameters
        # * name<~String> - Name of topic to create
        #
        # ==== See Also
        # http://docs.amazonwebservices.com/sns/latest/api/API_CreateTopic.html
        #

        def create_topic(name)
          request({
            'Action'  => 'CreateTopic',
            'Name'    => name,
            :parser   => Fog::Parsers::AWS::SNS::CreateTopic.new
          })
        end

      end

    end
  end
end

Version data entries

107 entries across 107 versions & 17 rubygems

Version Path
fog-1.22.0 lib/fog/aws/requests/sns/create_topic.rb
fog-1.21.0 lib/fog/aws/requests/sns/create_topic.rb
fog-maestrodev-1.20.0.20140305101839 lib/fog/aws/requests/sns/create_topic.rb
fog-maestrodev-1.20.0.20140305101305 lib/fog/aws/requests/sns/create_topic.rb
fog-maestrodev-1.19.0.20140212012611 lib/fog/aws/requests/sns/create_topic.rb
fog-1.20.0 lib/fog/aws/requests/sns/create_topic.rb
fog-maestrodev-1.19.0.20140110004459 lib/fog/aws/requests/sns/create_topic.rb
fog-maestrodev-1.19.0.20140110003812 lib/fog/aws/requests/sns/create_topic.rb
fog-maestrodev-1.19.0.20140109202555 lib/fog/aws/requests/sns/create_topic.rb
fog-maestrodev-1.19.0.20140107192102 lib/fog/aws/requests/sns/create_topic.rb
fog-maestrodev-1.19.0.20140107142106 lib/fog/aws/requests/sns/create_topic.rb
fog-maestrodev-1.19.0.20131219203941 lib/fog/aws/requests/sns/create_topic.rb
fog-maestrodev-1.18.0.20131219193542 lib/fog/aws/requests/sns/create_topic.rb
fog-1.19.0 lib/fog/aws/requests/sns/create_topic.rb
fog-maestrodev-1.18.0.20131219033443 lib/fog/aws/requests/sns/create_topic.rb
fog-maestrodev-1.18.0.20131219032002 lib/fog/aws/requests/sns/create_topic.rb
fog-maestrodev-1.18.0.20131219030716 lib/fog/aws/requests/sns/create_topic.rb
fog-maestrodev-1.18.0.20131219022322 lib/fog/aws/requests/sns/create_topic.rb
fog-maestrodev-1.18.0.20131218202447 lib/fog/aws/requests/sns/create_topic.rb
fog-maestrodev-1.18.0.20131209091424 lib/fog/aws/requests/sns/create_topic.rb