Class: Promiscuous::AMQP::File
- Inherits:
-
Object
- Object
- Promiscuous::AMQP::File
- Defined in:
- lib/promiscuous/amqp/file.rb
Defined Under Namespace
Modules: Subscriber
Instance Method Summary collapse
- #connect ⇒ Object
- #connected? ⇒ Boolean
- #disconnect ⇒ Object
- #new_connection(options = {}) ⇒ Object
- #publish(options = {}) ⇒ Object
Instance Method Details
#connect ⇒ Object
2 3 |
# File 'lib/promiscuous/amqp/file.rb', line 2 def connect end |
#connected? ⇒ Boolean
8 9 10 |
# File 'lib/promiscuous/amqp/file.rb', line 8 def connected? true end |
#disconnect ⇒ Object
5 6 |
# File 'lib/promiscuous/amqp/file.rb', line 5 def disconnect end |
#new_connection(options = {}) ⇒ Object
12 13 |
# File 'lib/promiscuous/amqp/file.rb', line 12 def new_connection(={}) end |
#publish(options = {}) ⇒ Object
15 16 17 18 |
# File 'lib/promiscuous/amqp/file.rb', line 15 def publish(={}) [:on_confirm].try(:call) raise NotImplemented end |