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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NGRlY2NjNmI1NjQ1NWQ5Y2E4MGRlNGM4OGMxN2FlNjA0OTg4YTQ0Yg==
4
+ NGJkNGRlNWFmMDQ1ZTc2NzVkZWY3M2QzZDg5MWU4N2MwNzczZjk2MQ==
5
5
  data.tar.gz: !binary |-
6
- ZDEwY2MwMTJlMTRhMDU4ZmM4YTdkYTljNDViZTY3NmU5NTI2YThhZA==
6
+ ZDA0MGU2NmQzY2Q3NTllZjRiZTk5YjZiMzc0MjExNjM2ZTJkMzY1OQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YzBiY2Y1ZTNlNDYwYTMwMWE0YzQxNGRmZWYyNThhMjMzMDVhMzAzN2YyYzgy
10
- MWVmYjI0ODdkMGEwOTkwMzllZGMzZWJjNTAzMDdiZmY4NzMwNGRlYmM2M2Fh
11
- OTQzY2Y2ZDBiYzRmMmQxZTNjNTM3ZGUzOTgyM2UwYzc0OTk2OTg=
9
+ NTMyMDNiNGYxNTdiZDFhZGI2N2I5NDdlMDIwMjE5Y2EwZjBlNzBmMTliNjFh
10
+ ZjhiN2MxOTJjNDgyYzVlNTlhNzk1OTU1ODE2MWY3Zjk1OWU2MDRmN2Y4OGJh
11
+ Y2QyYzlkMTYwYjI1MmE3MjE4NGEzMDJiNzU0NDM0NzYxZDA0NzQ=
12
12
  data.tar.gz: !binary |-
13
- YmNkNGY2MDNlYTJiY2M1YWNkZjIyOTA1Y2E4NmJiMDk1NzVlNDI1N2M3Mzcw
14
- ZTNlMmVjOGVhNDAzZjE0ZjE5Zjk4YjJhMGQzZGM4NzYxYWIzZmE5MTY3ZDk2
15
- NDg5NGUxZGRjZDc1MzRjNjk3MWQ1NDUwYzhiMDEzNzEyMDEwODU=
13
+ OWE3MDZiOGFmNjVhNTg2MDIxMzk2YWUxNjU5NjkxNzk1M2I0YTFhNjdiMDU1
14
+ ZDdlMzExMTZmNzY0NGQ2MmJlNzA3N2E5NDIyODg0M2Y2NDMzZGUwMWJkZDM4
15
+ MjQ4MzI1ODdhNTA1NTlhY2Q2ZmY4MTNiOWM5M2QxZDhhYWZkNzI=
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0
1
+ 1.0.1
@@ -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
@@ -1,9 +1,9 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: mxhero-api 1.0.0 ruby lib
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.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"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mxhero-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maximiliano Dello Russo