Class: Propono::Queue
- Inherits:
-
Object
- Object
- Propono::Queue
- Defined in:
- lib/propono/components/queue.rb
Instance Attribute Summary collapse
-
#attributes ⇒ Object
readonly
Returns the value of attribute attributes.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Instance Method Summary collapse
- #arn ⇒ Object
-
#initialize(url, attributes) ⇒ Queue
constructor
A new instance of Queue.
Constructor Details
#initialize(url, attributes) ⇒ Queue
Returns a new instance of Queue.
5 6 7 8 |
# File 'lib/propono/components/queue.rb', line 5 def initialize(url, attributes) @url = url @attributes = attributes end |
Instance Attribute Details
#attributes ⇒ Object (readonly)
Returns the value of attribute attributes.
4 5 6 |
# File 'lib/propono/components/queue.rb', line 4 def attributes @attributes end |
#url ⇒ Object (readonly)
Returns the value of attribute url.
4 5 6 |
# File 'lib/propono/components/queue.rb', line 4 def url @url end |
Instance Method Details
#arn ⇒ Object
10 11 12 |
# File 'lib/propono/components/queue.rb', line 10 def arn @arn ||= attributes["QueueArn"] end |