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.
62 63 64 65 |
# File 'lib/background_queue/worker/environment.rb', line 62 def initialize(host, port) @host = host @port = port end |
Instance Attribute Details
#host ⇒ Object
Returns the value of attribute host.
59 60 61 |
# File 'lib/background_queue/worker/environment.rb', line 59 def host @host end |
#port ⇒ Object
Returns the value of attribute port.
60 61 62 |
# File 'lib/background_queue/worker/environment.rb', line 60 def port @port end |