Module: RubyMyq
- Defined in:
- lib/ruby_myq.rb,
lib/ruby_myq/device.rb,
lib/ruby_myq/system.rb,
lib/ruby_myq/version.rb,
lib/ruby_myq/device/gateway.rb,
lib/ruby_myq/device/garage_door.rb,
lib/ruby_myq/device/light_switch.rb
Defined Under Namespace
Modules: Device Classes: System
Constant Summary collapse
- APP_ID =
'Vj8pQggXLhLy0WHahglCD4N1nAkkXQtGYpq2HrHD7H1nvmbT55KqtN6RSF4ILB%2Fi'
- LOCALE =
'en'
- API_VERSION =
'v5'
- APP_VERSION =
'v5.1'
- HOST_URI =
'api.myqdevice.com/api'
- LOGIN_ENDPOINT =
'Login'
- ACCOUNT_ENDPOINT =
'My'
- DEVICE_LIST_ENDPOINT =
'Devices'
- DEVICE_SET_ENDPOINT =
'Device/setDeviceAttribute'
- DEVICE_STATUS_ENDPOINT =
'/Device/getDeviceAttribute'
- HEADERS =
{ 'Content-Type' => 'application/json', 'MyQApplicationId' => 'JVM/G9Nwih5BwKgNCjLxiFUQxQijAebyyg8QUHr7JOrP+tuPb8iHfRHKwTmDzHOu', 'User-Agent' => 'okhttp/3.10.0', 'BrandId' => '2', 'Culture' => 'en' }.freeze
- VERSION =
'0.0.3'