Method: Codelocks::Client#access_key

Defined in:
lib/codelocks/client.rb

#access_keyString

Return the access key. This is tied to the K3 Connect App. This can be nil, as for certain models of locks you will provide a 6 digit ID instead.

Returns:

  • (String)

    the access key



26
27
28
# File 'lib/codelocks/client.rb', line 26

def access_key
  @access_key || ENV['CODELOCKS_ACCESS_KEY']
end