Class: Azure::Queue::Queue
- Inherits:
-
Object
- Object
- Azure::Queue::Queue
- Defined in:
- lib/azure/queue/queue.rb
Instance Attribute Summary collapse
-
#metadata ⇒ Object
Returns the value of attribute metadata.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize {|_self| ... } ⇒ Queue
constructor
A new instance of Queue.
Constructor Details
#initialize {|_self| ... } ⇒ Queue
Returns a new instance of Queue.
19 20 21 22 |
# File 'lib/azure/queue/queue.rb', line 19 def initialize @metadata = {} yield self if block_given? end |
Instance Attribute Details
#metadata ⇒ Object
Returns the value of attribute metadata.
25 26 27 |
# File 'lib/azure/queue/queue.rb', line 25 def @metadata end |
#name ⇒ Object
Returns the value of attribute name.
24 25 26 |
# File 'lib/azure/queue/queue.rb', line 24 def name @name end |