Class: Einvoicing::Connect::FR::Pennylane::Credentials::ApiKey

Inherits:
Object
  • Object
show all
Defined in:
lib/einvoicing/connect/fr/pennylane/credentials.rb

Overview

Static personal access token — never expires.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(key) ⇒ ApiKey

Returns a new instance of ApiKey.



46
47
48
# File 'lib/einvoicing/connect/fr/pennylane/credentials.rb', line 46

def initialize(key)
  @api_key = key
end

Instance Attribute Details

#api_keyObject (readonly)

Returns the value of attribute api_key.



44
45
46
# File 'lib/einvoicing/connect/fr/pennylane/credentials.rb', line 44

def api_key
  @api_key
end