angie-core-api 0.5.5 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f15be198a9e524fdc82842c67132595c6f7634c32d8c97fd30dfcd9924a01610
4
- data.tar.gz: 7adc33f630407c1c66de09063c3fbddb709496c71bb97b4c5c7df0135a734247
3
+ metadata.gz: a1f936bc717c5a8912826927b37f1e25c04e2ed38e13187345e8ffacc6e22241
4
+ data.tar.gz: 17c14a4a2d72961ae8205d8f0ba8307bcf4a4074789e16f78d37330af2d1502a
5
5
  SHA512:
6
- metadata.gz: 4c0d76dd7990be8f6bf2a93dd5395681e9562aee72086687eaac87e63ae29b18c20c60a5fdcbce1d0271fc1a7e122498ea57a2c826b84ebb13e12efd1c050a7f
7
- data.tar.gz: 4c765a16a404fbc92ced0f358129d4e66dbb56363d992544411643e3b090175c719a74b5ece85559bb314e8b7c17ac0c11d75d73ed1bbe25246dfcc73349b061
6
+ metadata.gz: 2a60b9d942d22a80027554ee602432495b7c85ab7d5f88fe5bea322f5abcdb6a90b22b7ea78d09e822c4538bcef436fc894fd7e21ff7fb01844a51448017794d
7
+ data.tar.gz: 39f1fdad861e760bccfb9e217540ae99f368b679154e6c90ca026b8f37bc2264a317035ac89bd942378b51b4493562e47a93b946695568b9f5e92712b92d71ae
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+
3
+ module AngieCoreApi
4
+ class Thermostat
5
+ def initialize(provider)
6
+ @provider = provider
7
+ end
8
+
9
+ def command(command)
10
+ Client.data(:post, "/thermostat", { provider: @provider, command: command})
11
+ end
12
+ end
13
+ end
@@ -6,6 +6,7 @@ module AngieCoreApi
6
6
  autoload :Flight, "angie-core-api/flight"
7
7
  autoload :Map, "angie-core-api/map"
8
8
  autoload :Notification, "angie-core-api/notification"
9
+ autoload :Thermostat, "angie-core-api/thermostat"
9
10
  autoload :TV, "angie-core-api/tv"
10
11
  autoload :Weather, "angie-core-api/weather"
11
12
  autoload :DeliveryMethod, "angie-core-api/delivery_method"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: angie-core-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.5
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
- - Angie Hospitality
7
+ - Nomadix
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-17 00:00:00.000000000 Z
11
+ date: 2022-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actioncable
@@ -114,12 +114,13 @@ files:
114
114
  - lib/angie-core-api/message/topic.rb
115
115
  - lib/angie-core-api/notification.rb
116
116
  - lib/angie-core-api/railtie.rb
117
+ - lib/angie-core-api/thermostat.rb
117
118
  - lib/angie-core-api/tv.rb
118
119
  - lib/angie-core-api/weather.rb
119
- homepage: https://angie.ai
120
+ homepage: https://nomadix.com
120
121
  licenses: []
121
122
  metadata:
122
- homepage_uri: https://angie.ai
123
+ homepage_uri: https://nomadix.com
123
124
  post_install_message:
124
125
  rdoc_options: []
125
126
  require_paths: