ezapi 0.2.0 → 0.3.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
  SHA1:
3
- metadata.gz: 50d92c7fadbcb5901d03f74300d84e53af90b943
4
- data.tar.gz: c1d204018d5bd23b24b50a94eb6610a8387ca4b4
3
+ metadata.gz: dd0e863d15f84b3d91b14044a869b7ee8fb9fc5c
4
+ data.tar.gz: 3185d9b9049423302549193892651662ecd1d5c7
5
5
  SHA512:
6
- metadata.gz: 29058fea6d0929f9bce037dcbb4cf9e57161076c546126fc53c5ae5c069a07aad37b65f0e9f877a09d74c0677ba44c01ae4ea43eab1f52920c65d3be13f099f6
7
- data.tar.gz: 63d2079d9b04f9ba2558d0e006b04d23cb04da89b6277dde07f7c26026b54a9cdae429cd1bdfe443d0003fd07241c5fa1601d2a0a938987b0d3333979c22b9d6
6
+ metadata.gz: a102a33c948d24e81d3cfa726492c935d96e0809ad10cc108483bd23b38f66d8c5db45c5a2a55a5bfc8439638ef8ce636f2c3f76cac0ffcb9be5eba97291dc8c
7
+ data.tar.gz: d7161902d22e7dda56f3fce34277ecdcde90f6cb501e797b7f7da40d76a7aa22716c50c284cfc3601020b78e07880f4a01dbff83239e22d17f9f9dee32c55028
data/lib/ezapi/client.rb CHANGED
@@ -11,7 +11,7 @@ module EZApi
11
11
  [:get, :post, :put, :patch, :delete].each do |method|
12
12
  define_method(method) do |path, params = {}|
13
13
  full_path = full_api_path(path)
14
- request(full_path, :put, params)
14
+ request(full_path, method, params)
15
15
  end
16
16
  end
17
17
  end
data/lib/ezapi/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module EZApi
2
- VERSION = "0.2.0"
2
+ VERSION = "0.3.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ezapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicholas