ghee 0.9.9 → 0.9.10
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.
- data/lib/ghee/resource_proxy.rb +8 -0
- data/lib/ghee/version.rb +1 -1
- metadata +2 -2
data/lib/ghee/resource_proxy.rb
CHANGED
@@ -40,6 +40,14 @@ class Ghee
|
|
40
40
|
subject.send(message, *args, &block)
|
41
41
|
end
|
42
42
|
|
43
|
+
# Raw is the raw response from the faraday
|
44
|
+
# Use this if you need access to status codes
|
45
|
+
# or header values
|
46
|
+
#
|
47
|
+
def raw
|
48
|
+
connection.get(path_prefix){|req| req.params.merge!params }
|
49
|
+
end
|
50
|
+
|
43
51
|
# Subject is the response body parsed
|
44
52
|
# as json
|
45
53
|
#
|
data/lib/ghee/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ghee
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.10
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-08-
|
13
|
+
date: 2013-08-07 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: faraday
|