Class: RubyOctopus::OctopusClient
- Inherits:
-
Object
- Object
- RubyOctopus::OctopusClient
- Defined in:
- lib/rubyoctopus/octopusclient.rb
Overview
Base class to use to perform actions against an Octopus instance.
Instance Attribute Summary collapse
-
#connection ⇒ Object
readonly
Returns the value of attribute connection.
Instance Method Summary collapse
-
#initialize(url, api_key) ⇒ OctopusClient
constructor
A new instance of OctopusClient.
Constructor Details
#initialize(url, api_key) ⇒ OctopusClient
Returns a new instance of OctopusClient.
10 11 12 |
# File 'lib/rubyoctopus/octopusclient.rb', line 10 def initialize(url, api_key) @connection = OctopusConnection.new(url, api_key) end |
Instance Attribute Details
#connection ⇒ Object (readonly)
Returns the value of attribute connection.
8 9 10 |
# File 'lib/rubyoctopus/octopusclient.rb', line 8 def connection @connection end |