restify 0.1.0.1.b15 → 0.1.0.1.b16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/restify/relation.rb +12 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZTFlZTczM2NkZmU1YTg3OWVlY2JjNDU1YWUxYWJjOTM0NTZiYzU1Zg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZTdmNDQ1ZmY3ZDc1YWVjY2ZkZTQzMWQzNGUzNjFhZDg2ZTE3OTY1NQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MjQ4Mjg2ZGI3OWRhMGFjNDExZmRkOTZiNDRlYjE0YzBkYmMzN2E4OTc4ZjYz
|
10
|
+
N2Y1OTdmMGI4NTgzNjAyODg4ZWYxNGIwNDllYTI2NzMxNmI1NzM2YmZiZDZk
|
11
|
+
MGZjZmFhMDliN2IzZTFhY2QyNTNiZjIyNTg1OTllMzg5NjljOWI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ODhmOWM2MWViZWM2NWM0Njk4MjUxZTc4YzBkMGYwMTMyNDkxMDA1OWZkY2I2
|
14
|
+
N2FlMGZkMGQ0YzI1OGEyY2UyMWZjNTlkYjM5MjY3YTRmMmYyNGVlOWZlMTMw
|
15
|
+
Mjc1NDM5NWJjOGM3YzA4ZDVjNjhmOTRjZjE0ZWQxNGNiZTc4ODM=
|
data/lib/restify/relation.rb
CHANGED
@@ -18,6 +18,18 @@ module Restify
|
|
18
18
|
request :post, params.merge(data: data)
|
19
19
|
end
|
20
20
|
|
21
|
+
def put(data = {}, params = {})
|
22
|
+
request :put, params.merge(data: data)
|
23
|
+
end
|
24
|
+
|
25
|
+
def patch(data = {}, params = {})
|
26
|
+
request :patch, params.merge(data: data)
|
27
|
+
end
|
28
|
+
|
29
|
+
def delete(data = {}, params = {})
|
30
|
+
request :delete, params.merge(data: data)
|
31
|
+
end
|
32
|
+
|
21
33
|
private
|
22
34
|
|
23
35
|
attr_reader :client, :template
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: restify
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0.1.
|
4
|
+
version: 0.1.0.1.b16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Graichen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-06-
|
11
|
+
date: 2014-06-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: obligation
|