Class: Concourse::Client
- Inherits:
-
Object
- Object
- Concourse::Client
- Defined in:
- lib/concourse/client.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
- #for_skymarshal ⇒ Object
- #get_info ⇒ Object
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
8 9 10 |
# File 'lib/concourse/client.rb', line 8 def initialize() @options = end |
Instance Method Details
#==(other) ⇒ Object
24 25 26 |
# File 'lib/concourse/client.rb', line 24 def ==(other) other.class == self.class && other.state == state end |
#for_skymarshal ⇒ Object
12 13 14 15 |
# File 'lib/concourse/client.rb', line 12 def for_skymarshal Concourse::SubClients::SkymarshalClient.new( @options.merge(version: get_info[:version])) end |