Class: PVOutput::Auth

Inherits:
Object
  • Object
show all
Defined in:
lib/pvoutput-api/auth.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_keyObject

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_idObject

Returns the value of attribute system_id.



4
5
6
# File 'lib/pvoutput-api/auth.rb', line 4

def system_id
  @system_id
end