Module: RAWS::SQS::Model::ClassMethods

Extended by:
Forwardable
Defined in:
lib/raws/sqs/model.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#queue_nameObject

Returns the value of attribute queue_name.



17
18
19
# File 'lib/raws/sqs/model.rb', line 17

def queue_name
  @queue_name
end

Instance Method Details

#create_queueObject



23
24
25
# File 'lib/raws/sqs/model.rb', line 23

def create_queue
  RAWS::SQS.create_queue(self.queue_name)
end

#queueObject



19
20
21
# File 'lib/raws/sqs/model.rb', line 19

def queue
  RAWS::SQS[self.queue_name]
end