ruby-miradore 2.2.9 → 2.3.9
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3d105a9262cdf40781a3d3ba95f13a1c29a7eb763c242da1a5c2b7d20b7cdfc6
|
4
|
+
data.tar.gz: b365339169bb49d5eeef8b21fb9716b0867b7736bef1d5deebbe160d042877f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 31f5262f5a999807db3ad81bcfe50438e96864d44b505c4b417793d7adad4a7cef0d1677f93225dc9b6396244010ca898f3112ccd7802e9b3d5252c3c60b2fbb
|
7
|
+
data.tar.gz: 3d3aebc88688facb5ea60ad44849b7e42dca93f36ab47ad72295f183a219184642cf65ae9d75bb0831faea999cd84d5b3fa97c920e165fe183dbbed6eb83fa01
|
data/Gemfile.lock
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: patch
|
5
|
-
uri: https://
|
5
|
+
uri: https://test634.online.miradore.com/API/v2/Device/13/
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: '{"userEmailAddress":"eduard@rzilient.club"}'
|
@@ -12,7 +12,7 @@ http_interactions:
|
|
12
12
|
Accept:
|
13
13
|
- application/json
|
14
14
|
X-Api-Key:
|
15
|
-
-
|
15
|
+
- 1_8,Yo-TV8QyCiBUF
|
16
16
|
Accept-Encoding:
|
17
17
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
18
18
|
User-Agent:
|
@@ -28,11 +28,11 @@ http_interactions:
|
|
28
28
|
- SAMEORIGIN
|
29
29
|
- SAMEORIGIN
|
30
30
|
Date:
|
31
|
-
-
|
31
|
+
- Mon, 08 Nov 2021 17:14:13 GMT
|
32
32
|
Content-Length:
|
33
33
|
- '0'
|
34
34
|
body:
|
35
35
|
encoding: UTF-8
|
36
36
|
string: ''
|
37
|
-
recorded_at:
|
37
|
+
recorded_at: Mon, 08 Nov 2021 17:14:13 GMT
|
38
38
|
recorded_with: VCR 6.0.0
|
data/lib/ruby/miradore.rb
CHANGED
@@ -149,12 +149,8 @@ module Ruby
|
|
149
149
|
!!invdevice&.imei
|
150
150
|
end
|
151
151
|
|
152
|
-
def
|
153
|
-
http_method(args
|
154
|
-
end
|
155
|
-
|
156
|
-
def post(**args)
|
157
|
-
http_method(args.merge(method: __method__))
|
152
|
+
def call(**args)
|
153
|
+
http_method(args)
|
158
154
|
end
|
159
155
|
|
160
156
|
private
|