Class: MySolaredge::Response::TimeFrameEnergy

Inherits:
AbstractResponse show all
Defined in:
lib/my_solaredge/response/time_frame_energy.rb

Instance Attribute Summary

Attributes inherited from AbstractResponse

#raw_response

Instance Method Summary collapse

Methods inherited from AbstractResponse

#initialize, #ok?, #parse, #useful_body_data

Constructor Details

This class inherits a constructor from MySolaredge::Response::AbstractResponse

Instance Method Details

#valueObject



8
9
10
# File 'lib/my_solaredge/response/time_frame_energy.rb', line 8

def value
  @parsed_response["energy"]
end