vhx-ruby 0.0.3 → 0.0.4

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
  SHA1:
3
- metadata.gz: bff7a0ec7641e6a810850cd1d4b227fc4c7bf9f6
4
- data.tar.gz: 55b7b5aedf57718ed9ac3b9eef362c8796a2e2cf
3
+ metadata.gz: 6ed283e6dd44cb1a7daf44e31508b28539819317
4
+ data.tar.gz: 79690be38a4b990e618e61339633d0bbd632e03b
5
5
  SHA512:
6
- metadata.gz: 5c76cadac0d4604ea1dbf1b059bd9ddaf4fb9c1773d65de89e629622d4d348a1834c30fca884ceb7b37b6136cbd304abb36cc73849d62f16b6e166953909d9da
7
- data.tar.gz: 42820006cf0e3c6d88be027b57a5cf21183fadec974f9d3fd97e2919d87184a1dca9345b9d0ee2a39c700ab8ce2db1acb4af609937da7a554f2ba31d7ee56cf6
6
+ metadata.gz: 960516f2b4de0cc6cc41fb43dcf4c04c386b52497f5e5d0a3549d87fab4a1d691b62d8ccd8866f62f31d5c55be235ec3f9646500eeea3c8da3d3f71eb347f9e0
7
+ data.tar.gz: d128a8dc4f989036ed61c33a8eeca6c5b7a28dc34b4bbba3e6c6576f9da2660f72372f7dbf2e635836f3a637e4878e6b01855ff360b704779165ec297ec3eadb
@@ -5,10 +5,7 @@ module Vhx
5
5
  module List
6
6
  module ClassMethods
7
7
  def all(payload = {})
8
- response = Vhx.connection.get do |req|
9
- req.url '/' + get_klass.downcase + 's'
10
- req.body = payload
11
- end
8
+ response = Vhx.connection.get('/' + get_klass.downcase + 's', payload)
12
9
  VhxListObject.new(response.body, get_klass.downcase + 's')
13
10
  end
14
11
  end
@@ -1,3 +1,3 @@
1
1
  module Vhx
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vhx-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sagar Shah