Class: URI::AMQP
- Inherits:
-
Generic
- Object
- Generic
- URI::AMQP
- Defined in:
- lib/uri/amqp.rb,
lib/uri/amqp/version.rb
Direct Known Subclasses
Constant Summary collapse
- DEFAULT_PORT =
5672
- COMPONENT =
%i[ scheme userinfo host port vhost query ].freeze
- VERSION =
'1.0.2'
Instance Attribute Summary collapse
-
#cacertfile ⇒ Object
Returns the value of attribute cacertfile.
-
#certfile ⇒ Object
Returns the value of attribute certfile.
-
#channel_max ⇒ Object
Returns the value of attribute channel_max.
-
#connection_timeout ⇒ Object
Returns the value of attribute connection_timeout.
-
#fail_if_no_peer_cert ⇒ Object
Returns the value of attribute fail_if_no_peer_cert.
-
#heartbeat ⇒ Object
Returns the value of attribute heartbeat.
-
#keyfile ⇒ Object
Returns the value of attribute keyfile.
-
#verify ⇒ Object
Returns the value of attribute verify.
-
#vhost ⇒ Object
Returns the value of attribute vhost.
Instance Method Summary collapse
-
#hierarchical? ⇒ Boolean
URI::AMQP doesn’t have path.
-
#initialize(*arg) ⇒ AMQP
constructor
A new instance of AMQP.
Constructor Details
#initialize(*arg) ⇒ AMQP
Returns a new instance of AMQP.
20 21 22 23 24 25 |
# File 'lib/uri/amqp.rb', line 20 def initialize(*arg) super(*arg) parse_path parse_query end |
Instance Attribute Details
#cacertfile ⇒ Object
Returns the value of attribute cacertfile.
27 28 29 |
# File 'lib/uri/amqp.rb', line 27 def cacertfile @cacertfile end |
#certfile ⇒ Object
Returns the value of attribute certfile.
27 28 29 |
# File 'lib/uri/amqp.rb', line 27 def certfile @certfile end |
#channel_max ⇒ Object
Returns the value of attribute channel_max.
27 28 29 |
# File 'lib/uri/amqp.rb', line 27 def channel_max @channel_max end |
#connection_timeout ⇒ Object
Returns the value of attribute connection_timeout.
27 28 29 |
# File 'lib/uri/amqp.rb', line 27 def connection_timeout @connection_timeout end |
#fail_if_no_peer_cert ⇒ Object
Returns the value of attribute fail_if_no_peer_cert.
27 28 29 |
# File 'lib/uri/amqp.rb', line 27 def fail_if_no_peer_cert @fail_if_no_peer_cert end |
#heartbeat ⇒ Object
Returns the value of attribute heartbeat.
27 28 29 |
# File 'lib/uri/amqp.rb', line 27 def heartbeat @heartbeat end |
#keyfile ⇒ Object
Returns the value of attribute keyfile.
27 28 29 |
# File 'lib/uri/amqp.rb', line 27 def keyfile @keyfile end |
#verify ⇒ Object
Returns the value of attribute verify.
27 28 29 |
# File 'lib/uri/amqp.rb', line 27 def verify @verify end |
#vhost ⇒ Object
Returns the value of attribute vhost.
27 28 29 |
# File 'lib/uri/amqp.rb', line 27 def vhost @vhost end |
Instance Method Details
#hierarchical? ⇒ Boolean
URI::AMQP doesn’t have path
72 73 74 |
# File 'lib/uri/amqp.rb', line 72 def hierarchical? false end |