mxhero-api 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/VERSION +1 -1
- data/lib/pst-converter.rb +3 -3
- data/mxhero-api.gemspec +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NDdhOTg3MWUyZGM2YzdkZTJmZjQzNjlkM2NmY2MwZmExMmNjYTU4MA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZTRiNGU5ZTA5OGNmNzYxMmQ5N2ZkMTdiNzE2OTY2MTEzZDA0NzcxZA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZTU5ZDEzZjk4M2NiNzUyMDU4MDRlYmJkNmY5NjA5ZTY4ZjQyMGEzMzEzMTE4
|
10
|
+
MTA3YWU2MjQxMDY0NDYxYWZkMDFkNTQ5ZjU1ZjQ0YzQyMDUyNmFhZTdmOWEz
|
11
|
+
YWNhYjNjMWM5ZGM4MDMzMTVkODc3ZmUxODM0NzFmZGMxMTE2MDk=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NzA0OGEyMTMyMWMyMDUyNDNjNGYxYTI0MDMzOTg0YTdlZDNlM2JmMzM0MjI4
|
14
|
+
MTEyMmRjZTQxNjZlOWQyZDE5NzA4YWFjOTE2NTUyNWE5OGNiZmZjZWQxMmYy
|
15
|
+
ODVhMDQyYmMxNjNjNDE1YmNlMDAyZWNkNzg3MDFkNDYxN2U3NGQ=
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.3
|
data/lib/pst-converter.rb
CHANGED
@@ -25,18 +25,18 @@ module MxHero::API
|
|
25
25
|
# @return [MxHero::API::Response] response
|
26
26
|
['active', 'inactive'].each do |status|
|
27
27
|
define_method("#{status}_tasks") do |account|
|
28
|
-
response = call(:get, url_pst_status(account, status)
|
28
|
+
response = call(:get, url_pst_status(account, status))
|
29
29
|
parse_response(response, on_empty: [])
|
30
30
|
end
|
31
31
|
end
|
32
32
|
|
33
33
|
def delete(account, id)
|
34
|
-
response = call(:delete, url_pst_id(account, id)
|
34
|
+
response = call(:delete, url_pst_id(account, id))
|
35
35
|
response.status == 200
|
36
36
|
end
|
37
37
|
|
38
38
|
def task(account, id)
|
39
|
-
response = call(:get, url_pst_id(account, id)
|
39
|
+
response = call(:get, url_pst_id(account, id))
|
40
40
|
parse_response(response)
|
41
41
|
end
|
42
42
|
|
data/mxhero-api.gemspec
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
-
# stub: mxhero-api 1.0.
|
2
|
+
# stub: mxhero-api 1.0.3 ruby lib
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = "mxhero-api"
|
6
|
-
s.version = "1.0.
|
6
|
+
s.version = "1.0.3"
|
7
7
|
|
8
8
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
9
9
|
s.authors = ["Maximiliano Dello Russo", "Juan Pablo Royo", "mxHero"]
|