Class: MyTado::Request::Me
- Inherits:
-
AbstractRequest
- Object
- AbstractRequest
- MyTado::Request::Me
- Defined in:
- lib/my_tado/request/me.rb
Overview
Calls the /me endpoint
Instance Attribute Summary
Attributes inherited from AbstractRequest
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from AbstractRequest
#body, #call, #initialize, #klass_name, #method
Constructor Details
This class inherits a constructor from MyTado::Request::AbstractRequest
Class Method Details
.requires_home_id_param? ⇒ Boolean
7 8 9 |
# File 'lib/my_tado/request/me.rb', line 7 def self.requires_home_id_param? false end |
Instance Method Details
#endpoint ⇒ Object
11 12 13 |
# File 'lib/my_tado/request/me.rb', line 11 def endpoint "/v1/me" end |