Class: Propono::Topic
- Inherits:
-
Object
- Object
- Propono::Topic
- Defined in:
- lib/propono/components/topic.rb
Instance Attribute Summary collapse
-
#aws_topic ⇒ Object
readonly
Returns the value of attribute aws_topic.
Instance Method Summary collapse
- #arn ⇒ Object
-
#initialize(aws_topic) ⇒ Topic
constructor
A new instance of Topic.
Constructor Details
#initialize(aws_topic) ⇒ Topic
Returns a new instance of Topic.
4 5 6 |
# File 'lib/propono/components/topic.rb', line 4 def initialize(aws_topic) @aws_topic = aws_topic end |
Instance Attribute Details
#aws_topic ⇒ Object (readonly)
Returns the value of attribute aws_topic.
3 4 5 |
# File 'lib/propono/components/topic.rb', line 3 def aws_topic @aws_topic end |
Instance Method Details
#arn ⇒ Object
8 9 10 |
# File 'lib/propono/components/topic.rb', line 8 def arn @arn ||= aws_topic.topic_arn end |