Class: Harkness::Resource

Inherits:
Object
  • Object
show all
Defined in:
lib/harkness/resource.rb

Overview

The base resource class.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ Resource

Initialize a new resource.

Parameters:



14
15
16
# File 'lib/harkness/resource.rb', line 14

def initialize(client)
  @client = client
end

Instance Attribute Details

#clientHarkness::Client (readonly)

A Harkness client.

Returns:



10
11
12
# File 'lib/harkness/resource.rb', line 10

def client
  @client
end