flexirest 1.5.8 → 1.5.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/flexirest/request.rb +16 -0
- data/lib/flexirest/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2e9ebcb294d7f5316e0a89a7805ff160801d4979
|
4
|
+
data.tar.gz: c72f3a2d84d9899c3f218458f6506b4ce3d5f46b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c24542bfe2f4c19b11d75a7942019ba7d3264a998d3333b5bd86031048266df58e072ec95f4578c885b6f953b09129abf773cb4cb9a9a3ab7975d3c1a75d266
|
7
|
+
data.tar.gz: 06aecf662c5f925856d8f6f99b79027f073248e947ef4e53718d23fd674c4402f18b4902a4cec092b7750fbb364ad19c77d1752a88345cc5dfa42b872a0cc364
|
data/CHANGELOG.md
CHANGED
data/lib/flexirest/request.rb
CHANGED
@@ -149,6 +149,22 @@ module Flexirest
|
|
149
149
|
@method[:method]
|
150
150
|
end
|
151
151
|
|
152
|
+
def get?
|
153
|
+
http_method == :get
|
154
|
+
end
|
155
|
+
|
156
|
+
def post?
|
157
|
+
http_method == :post
|
158
|
+
end
|
159
|
+
|
160
|
+
def put?
|
161
|
+
http_method == :put
|
162
|
+
end
|
163
|
+
|
164
|
+
def delete?
|
165
|
+
http_method == :delete
|
166
|
+
end
|
167
|
+
|
152
168
|
def call(explicit_parameters=nil)
|
153
169
|
@instrumentation_name = "#{class_name}##{@method[:name]}"
|
154
170
|
result = nil
|
data/lib/flexirest/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flexirest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andy Jeffries
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-03-
|
11
|
+
date: 2018-03-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|