Module: Knock::Base

Included in:
BulkOperations, Messages, Objects, Preferences, Users, Workflows
Defined in:
lib/knock/base.rb

Overview

The Base class handles setting and reading the Knock API Key for authentication

Class Attribute Summary collapse

Instance Attribute Summary collapse

Class Attribute Details

.keyObject

Returns the value of attribute key.



8
9
10
# File 'lib/knock/base.rb', line 8

def key
  @key
end

Instance Attribute Details

#keyObject

Returns the value of attribute key.



4
5
6
# File 'lib/knock/base.rb', line 4

def key
  @key
end