Class: RubyOctopus::OctopusClient

Inherits:
Object
  • Object
show all
Defined in:
lib/rubyoctopus/octopusclient.rb

Overview

Base class to use to perform actions against an Octopus instance.

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#connectionObject (readonly)

Returns the value of attribute connection.



8
9
10
# File 'lib/rubyoctopus/octopusclient.rb', line 8

def connection
  @connection
end