Class: Einvoicing::Connect::FR::Pennylane::Credentials::ApiKey
- Inherits:
-
Object
- Object
- Einvoicing::Connect::FR::Pennylane::Credentials::ApiKey
- Defined in:
- lib/einvoicing/connect/fr/pennylane/credentials.rb
Overview
Static personal access token — never expires.
Instance Attribute Summary collapse
-
#api_key ⇒ Object
readonly
Returns the value of attribute api_key.
Instance Method Summary collapse
-
#initialize(key) ⇒ ApiKey
constructor
A new instance of ApiKey.
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_key ⇒ Object (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 |