Class: Azure::Queue::Queue

Inherits:
Object
  • Object
show all
Defined in:
lib/azure/queue/queue.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize {|_self| ... } ⇒ Queue

Returns a new instance of Queue.

Yields:

  • (_self)

Yield Parameters:



19
20
21
22
# File 'lib/azure/queue/queue.rb', line 19

def initialize
  @metadata = {}
  yield self if block_given?
end

Instance Attribute Details

#metadataObject

Returns the value of attribute metadata.



25
26
27
# File 'lib/azure/queue/queue.rb', line 25

def 
  @metadata
end

#nameObject

Returns the value of attribute name.



24
25
26
# File 'lib/azure/queue/queue.rb', line 24

def name
  @name
end