fluffy-ruby 0.0.10 → 0.0.11

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9a1545463f802659f5b78804230a7475a11bed60
4
- data.tar.gz: 6f3fec24358c74aeeba179833682a211bd8890ec
3
+ metadata.gz: 9b908d7a1fd3614fbf3a6a2c12a2f3888c7a811e
4
+ data.tar.gz: f548a5ae662d5e04e175ec5bd75165e441c362bd
5
5
  SHA512:
6
- metadata.gz: 05cf411f92fae5b53e8cd3df2b629c073849b874dc161268adc24e5be21f55bf364af306abd4f58e9f6ead65665cdf5a9175fc61f5ce15e16e79a8743d4c0445
7
- data.tar.gz: 1c036d7195d3e9f6b61dc72eb1677ba78eff43dc1ed367de4cb8bf2aaffafce52c2c27e3bc6caac1441e009aff9880933ee1476bee10ea0f95649a3e3a1202d5
6
+ metadata.gz: 5ec559b951a1adbc2ca39e1cb1ca73fd66609f45258162f09fa68fa74cf5eebef09b6534ef2df98f860ec68639ccafdee35411f530796c59e8491f3b78797600
7
+ data.tar.gz: 0d3e915800c49342a2c98056d7bdee0d102dd5073d9ebd023a860e3d8a1f91d2168b536a6e0e1f27955fab5a581bee790a30e9b884073d165f0045b803844e17
@@ -28,8 +28,8 @@ module Fluffy
28
28
  # @param **params [Hash] Any number of parameters to push into the Hash
29
29
  # @return [Hash, nil] API response
30
30
  #
31
- def add(name:, **params)
32
- @@api.post(endpoint: self.endpoint + [name], params: params)
31
+ def add(name:, table:, **params)
32
+ @@api.post(endpoint: self.endpoint + [table, name], params: params)
33
33
  end
34
34
 
35
35
  # Update an existing entry in the session chains
@@ -38,8 +38,8 @@ module Fluffy
38
38
  # @param **params [Hash] Any number of parameters to push into the Hash
39
39
  # @return [Hash, nil] API response
40
40
  #
41
- def update(name:, **params)
42
- @@api.patch(endpoint: self.endpoint + [name], params: params)
41
+ def update(name:, table:, **params)
42
+ @@api.patch(endpoint: self.endpoint + [table, name], params: params)
43
43
  end
44
44
 
45
45
  # Delete an entry from the session chains
@@ -47,8 +47,8 @@ module Fluffy
47
47
  # @param name [String] Entry name
48
48
  # @return [Hash, nil] API response
49
49
  #
50
- def delete(name:)
51
- @@api.delete(endpoint: self.endpoint + [name])
50
+ def delete(name:, table:)
51
+ @@api.delete(endpoint: self.endpoint + [table, name])
52
52
  end
53
53
  end
54
54
  end
@@ -1,5 +1,5 @@
1
1
  module Fluffy
2
- VERSION = "0.0.10"
2
+ VERSION = "0.0.11"
3
3
 
4
4
  def self.version
5
5
  VERSION
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluffy-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matteo Cerutti
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-28 00:00:00.000000000 Z
11
+ date: 2017-07-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json