homeflow_api 0.17.12 → 0.17.13
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/homeflow_api.gemspec +1 -1
- data/lib/homeflow/api/request.rb +5 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.17.
|
1
|
+
0.17.13
|
data/homeflow_api.gemspec
CHANGED
data/lib/homeflow/api/request.rb
CHANGED
@@ -68,7 +68,11 @@ module Homeflow
|
|
68
68
|
class << self
|
69
69
|
def run_for(request_specification)
|
70
70
|
r = Request.new(request_specification)
|
71
|
-
|
71
|
+
if r.is_a? Hash
|
72
|
+
Response.new(r)
|
73
|
+
else
|
74
|
+
Response.new_from_json(r.perform)
|
75
|
+
end
|
72
76
|
end
|
73
77
|
end
|
74
78
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: homeflow_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.17.
|
4
|
+
version: 0.17.13
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -178,7 +178,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
178
178
|
version: '0'
|
179
179
|
segments:
|
180
180
|
- 0
|
181
|
-
hash:
|
181
|
+
hash: 421510939188567802
|
182
182
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
183
183
|
none: false
|
184
184
|
requirements:
|