Class: MySolaredge::Response::TimeFrameEnergy
- Inherits:
-
AbstractResponse
- Object
- AbstractResponse
- MySolaredge::Response::TimeFrameEnergy
- Defined in:
- lib/my_solaredge/response/time_frame_energy.rb
Instance Attribute Summary
Attributes inherited from AbstractResponse
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
#value ⇒ Object
8 9 10 |
# File 'lib/my_solaredge/response/time_frame_energy.rb', line 8 def value @parsed_response["energy"] end |