restulicious 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
@@ -9,11 +9,13 @@ module Restulicious
|
|
9
9
|
|
10
10
|
def get(url, params, &block)
|
11
11
|
request = ::RESTApi.get(url, params)
|
12
|
+
request.queue if request.respond_to?(:queue)
|
12
13
|
handle_response(request, &block)
|
13
14
|
end
|
14
15
|
|
15
16
|
def post(url, params, &block)
|
16
17
|
request = ::RESTApi.post(url, params)
|
18
|
+
request.queue if request.respond_to?(:queue)
|
17
19
|
handle_response(request, &block)
|
18
20
|
end
|
19
21
|
|
data/lib/restulicious/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: restulicious
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-10-
|
12
|
+
date: 2012-10-31 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|