Class: BackgroundQueue::Worker::Environment::Server
- Inherits:
-
Object
- Object
- BackgroundQueue::Worker::Environment::Server
- Defined in:
- lib/background_queue/worker/environment.rb
Instance Attribute Summary collapse
-
#host ⇒ Object
Returns the value of attribute host.
-
#port ⇒ Object
Returns the value of attribute port.
Instance Method Summary collapse
-
#initialize(host, port) ⇒ Server
constructor
A new instance of Server.
Constructor Details
#initialize(host, port) ⇒ Server
Returns a new instance of Server.
86 87 88 89 |
# File 'lib/background_queue/worker/environment.rb', line 86 def initialize(host, port) @host = host @port = port end |
Instance Attribute Details
#host ⇒ Object
Returns the value of attribute host.
83 84 85 |
# File 'lib/background_queue/worker/environment.rb', line 83 def host @host end |
#port ⇒ Object
Returns the value of attribute port.
84 85 86 |
# File 'lib/background_queue/worker/environment.rb', line 84 def port @port end |