Class: PVOutput::Auth
- Inherits:
-
Object
- Object
- PVOutput::Auth
- Defined in:
- lib/pvoutput-api/auth.rb
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#system_id ⇒ Object
Returns the value of attribute system_id.
Instance Method Summary collapse
-
#initialize(system_id, api_key) ⇒ Auth
constructor
A new instance of Auth.
Constructor Details
#initialize(system_id, api_key) ⇒ Auth
Returns a new instance of Auth.
6 7 8 9 |
# File 'lib/pvoutput-api/auth.rb', line 6 def initialize(system_id, api_key) @system_id = system_id @api_key = api_key end |
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
4 5 6 |
# File 'lib/pvoutput-api/auth.rb', line 4 def api_key @api_key end |
#system_id ⇒ Object
Returns the value of attribute system_id.
4 5 6 |
# File 'lib/pvoutput-api/auth.rb', line 4 def system_id @system_id end |