Class: Concourse::Client
- Inherits:
-
Object
- Object
- Concourse::Client
- Defined in:
- lib/concourse/client.rb
Instance Method Summary collapse
-
#==(other) ⇒ Object
rubocop:enable Naming/AccessorMethodName.
- #for_skymarshal ⇒ Object
-
#get_info ⇒ Object
rubocop:disable Naming/AccessorMethodName.
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
10 11 12 |
# File 'lib/concourse/client.rb', line 10 def initialize() @options = end |
Instance Method Details
#==(other) ⇒ Object
rubocop:enable Naming/AccessorMethodName
30 31 32 |
# File 'lib/concourse/client.rb', line 30 def ==(other) other.class == self.class && other.state == state end |
#for_skymarshal ⇒ Object
14 15 16 17 18 |
# File 'lib/concourse/client.rb', line 14 def for_skymarshal Concourse::SubClients::SkymarshalClient.new( @options.merge(version: get_info[:version]) ) end |