mxhero-api 1.0.1 → 1.0.2
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 -1
- 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
|
+
NTNhOWM5N2MxMTNjOWRmMzRkZjNhZDU1Yzk3YzM2NzZkYjgyMGEyYg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MGM3ZjIwZWUyYTkxYzE3Yzc2ODdlNjNkYTU2YTNhNDQ1MzdlMGUzYw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
Njk4NzA3NTA2N2M0YzJkZDRlMGEwYjE1ODMyZDczOTBlYzY3YjcyZGE5NjRj
|
10
|
+
ZWI5N2IzZjk0OWE4M2IwNDgzYzZjODAwNjIzYTU2NGE4ZTMxZDAwNmVjOGMz
|
11
|
+
MDhlODAwZTczYjU5NTFjMDk3NjdkNGI5ZTdjNGZjOThhMzlmOTU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NDEwNDdhNTM0ZDZkMWVhMmU4M2QwYWRjYjA5NjI3OWFmMTYxN2IwMTJmNjk0
|
14
|
+
NTFiMjAxYTQwN2I3OWY3NGY4ZGY2MjkwNTAzMmRkZTE3YjliNGMyOWI1NzM2
|
15
|
+
N2NiNzJjZGVkZWQ0Nzc4MzQ5OTQyNWY1MWRmNWI5Mjc1ZjQ1YTg=
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.2
|
data/lib/pst-converter.rb
CHANGED
@@ -42,7 +42,9 @@ module MxHero::API
|
|
42
42
|
|
43
43
|
def save(account, task)
|
44
44
|
response = call(:post, url_pst(account), task.to_json, throw_exception: false)
|
45
|
-
|
45
|
+
parsed = parse_response(response)
|
46
|
+
return parsed.msg[:id] if parsed.success?
|
47
|
+
nil
|
46
48
|
end
|
47
49
|
|
48
50
|
private
|
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.2 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.2"
|
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"]
|