Class: Propono::Queue

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#attributesObject (readonly)

Returns the value of attribute attributes.



4
5
6
# File 'lib/propono/components/queue.rb', line 4

def attributes
  @attributes
end

#urlObject (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

#arnObject



10
11
12
# File 'lib/propono/components/queue.rb', line 10

def arn
  @arn ||= attributes["QueueArn"]
end