mxhero-api 1.0.0 → 1.0.1
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 +5 -0
- 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
|
+
NGJkNGRlNWFmMDQ1ZTc2NzVkZWY3M2QzZDg5MWU4N2MwNzczZjk2MQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZDA0MGU2NmQzY2Q3NTllZjRiZTk5YjZiMzc0MjExNjM2ZTJkMzY1OQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NTMyMDNiNGYxNTdiZDFhZGI2N2I5NDdlMDIwMjE5Y2EwZjBlNzBmMTliNjFh
|
10
|
+
ZjhiN2MxOTJjNDgyYzVlNTlhNzk1OTU1ODE2MWY3Zjk1OWU2MDRmN2Y4OGJh
|
11
|
+
Y2QyYzlkMTYwYjI1MmE3MjE4NGEzMDJiNzU0NDM0NzYxZDA0NzQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
OWE3MDZiOGFmNjVhNTg2MDIxMzk2YWUxNjU5NjkxNzk1M2I0YTFhNjdiMDU1
|
14
|
+
ZDdlMzExMTZmNzY0NGQ2MmJlNzA3N2E5NDIyODg0M2Y2NDMzZGUwMWJkZDM4
|
15
|
+
MjQ4MzI1ODdhNTA1NTlhY2Q2ZmY4MTNiOWM5M2QxZDhhYWZkNzI=
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.1
|
data/lib/pst-converter.rb
CHANGED
@@ -35,6 +35,11 @@ module MxHero::API
|
|
35
35
|
response.status == 200
|
36
36
|
end
|
37
37
|
|
38
|
+
def task(account, id)
|
39
|
+
response = call(:get, url_pst_id(account, id), throw_exception: false)
|
40
|
+
parse_response(response)
|
41
|
+
end
|
42
|
+
|
38
43
|
def save(account, task)
|
39
44
|
response = call(:post, url_pst(account), task.to_json, throw_exception: false)
|
40
45
|
response.status == 201
|
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.1 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.1"
|
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"]
|