Class: IronMQ::Subscribers

Inherits:
Object
  • Object
show all
Defined in:
lib/iron_mq/subscribers.rb

Class Method Summary collapse

Class Method Details

.path(options) ⇒ Object



3
4
5
6
7
8
9
# File 'lib/iron_mq/subscribers.rb', line 3

def self.path(options)
  path = "#{Messages.path(options)}/subscribers"
  if options[:subscriber_id]
    path << "/#{options[:subscriber_id]}"
  end
  path
end