class Aws::Broker::Base
Private Instance Methods
config()
click to toggle source
# File lib/aws/broker/base.rb, line 28 def config Broker.config end
create_topic()
click to toggle source
# File lib/aws/broker/base.rb, line 11 def create_topic @topic_arn = sns.create_topic(name: topic_name).topic_arn end
enabled?()
click to toggle source
# File lib/aws/broker/base.rb, line 7 def enabled? config.enabled? end
naming()
click to toggle source
# File lib/aws/broker/base.rb, line 32 def naming Broker.naming end
sns()
click to toggle source
# File lib/aws/broker/base.rb, line 24 def sns config.sns end
topic_name()
click to toggle source
docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SNS/Resource.html
Constraints: Topic names must be made up of only uppercase and lowercase ASCII letters, numbers, underscores, and hyphens, and must be between 1 and 256 characters long.
# File lib/aws/broker/base.rb, line 20 def topic_name naming.topic(@topic) end