mind_meld 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mind_meld.rb +4 -0
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c9bc63695b2178c1fd998bcfaa0498db04a20824
4
- data.tar.gz: 7adecbef5702c59f37aed4c3258ac65baf5fefe6
3
+ metadata.gz: 98304ccf43a93ccec0f2a37ba00925ed1f1a22aa
4
+ data.tar.gz: f985b12c74283d50d69ff42299a4e60403b3044f
5
5
  SHA512:
6
- metadata.gz: b56078873585b643c7827683fed77821a62c0d2365e0a4318e66355948e2ff175ebebdf8199221e9d7c78d36073c24659f4e4da9149f943dea900ec30d960d91
7
- data.tar.gz: 50acdbb87be5d8342f845c5a5298c145015579fcbdf514bd826b3f1a94a438fb008e04d0a3c6d941d24a5c30fe3003c3650674c6d7f0ba435d27a4084ba6a503
6
+ metadata.gz: 59758121ab0dde38ec6646d59755aaebc7d3b7e85bbf15fdc89e9895418f935542f005b70fe3f4537d54450a013fc9f6b6edad419b18cf549f97deb0fc801e58
7
+ data.tar.gz: 416b62f2423657c4db436f5c72e7143f8095de18f31084139a2c5c9e5f0f17f77ef64adf24cb9b2484bb649a73b2338bc89e98cfdf3d4bc14473c381f7b63e6d
data/lib/mind_meld.rb CHANGED
@@ -35,6 +35,10 @@ puts args
35
35
  request :put, 'devices/poll', args
36
36
  end
37
37
 
38
+ def create_action options
39
+ request :put, 'devices/action', { device_action: options }
40
+ end
41
+
38
42
  private
39
43
  def request type, call, params = {}
40
44
  if @http
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mind_meld
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joe Haig
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-17 00:00:00.000000000 Z
11
+ date: 2016-01-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport