Class: APN::Config
- Inherits:
-
Object
- Object
- APN::Config
- Defined in:
- lib/apn/queue_name.rb
Class Attribute Summary collapse
-
.queue_name ⇒ Object
Sets the attribute queue_name.
Class Method Summary collapse
- .queue_name_with_blank_check ⇒ Object (also: queue_name)
Class Attribute Details
.queue_name=(value) ⇒ Object
Sets the attribute queue_name
4 5 6 |
# File 'lib/apn/queue_name.rb', line 4 def queue_name=(value) @queue_name = value end |
Class Method Details
.queue_name_with_blank_check ⇒ Object Also known as: queue_name
6 7 8 |
# File 'lib/apn/queue_name.rb', line 6 def queue_name_with_blank_check queue_name_without_blank_check || raise("APN: No queue name set, please set APN::Config.queue_name in an initializer") end |