Class: GOCD::Server
- Inherits:
-
Object
- Object
- GOCD::Server
- Defined in:
- lib/gocd/config/server.rb
Instance Attribute Summary collapse
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(url) ⇒ Server
constructor
A new instance of Server.
Constructor Details
#initialize(url) ⇒ Server
Returns a new instance of Server.
5 6 7 |
# File 'lib/gocd/config/server.rb', line 5 def initialize(url) @url = url end |
Instance Attribute Details
#url ⇒ Object (readonly)
Returns the value of attribute url.
3 4 5 |
# File 'lib/gocd/config/server.rb', line 3 def url @url end |