asaas-ruby 0.2.9 → 0.2.10

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: b3a2672993e49639eb53172ae663f8bbd859d0f3eb01d9afe46a16e5535700a4
4
- data.tar.gz: 2d6c07eb129d964dbfc13b946a070b1b33571cebb7a546a1dcf9bf9fda56a333
3
+ metadata.gz: eabbb54f632e238058949db32732bd73bd578e6c8070e0f351a582a334b8a140
4
+ data.tar.gz: 205f7e70473a04a25e055195aecb3c7afe7416ae7b85926e46a877f44c641dd6
5
5
  SHA512:
6
- metadata.gz: c60ed98659cfd647bd044a1a6555766e23248ce7cccf45244e046736fe8a66d194e83d29bed7323905242cc57fce01d682eec4a2755c39ec4f53fa3df2bcf14c
7
- data.tar.gz: 94f4d9a03d6211104fdf1a203797aff04ba13494d033775cdf0e2900cc883c21cc820df9b67d606ed9b37722fbfa86d8ffb5148f7e8a53dbdcce0fcdcfa6ca7a
6
+ metadata.gz: 599cf0b313a1bdef3c98ff4bb9a32d3e8b932f2a1c2702ec96789c7b738b250649522f60466adbcdc2f2d1a5ba1312afad2c97e02dc1960bb172d0db3e1b9868
7
+ data.tar.gz: b9469369329d46186ae22a8db23eea0202e2ca35a6c061c32a97151b8ef1bfa3f8bc0feaab65a65b4664219427368a8436c166206da10444bc9271e3c7912c8a
@@ -7,5 +7,6 @@ module Asaas
7
7
  autoload :Notification, 'asaas/api/notification'
8
8
  autoload :Payment, 'asaas/api/payment'
9
9
  autoload :Subscription, 'asaas/api/subscription'
10
+ autoload :Webhook, 'asaas/api/webhook'
10
11
  end
11
12
  end
@@ -0,0 +1,11 @@
1
+ module Asaas
2
+ module Api
3
+ class Webhook < Asaas::Api::Base
4
+
5
+ def initialize(token, api_version)
6
+ super(token, api_version, '/webhook')
7
+ end
8
+
9
+ end
10
+ end
11
+ end
@@ -32,5 +32,9 @@ module Asaas
32
32
  @subscriptions ||= Asaas::Api::Subscription.new(@token, @api_version)
33
33
  end
34
34
 
35
+ def webhooks
36
+ @webhooks ||= Asaas::Api::Webhook.new(@token, @api_version)
37
+ end
38
+
35
39
  end
36
40
  end
@@ -1,3 +1,3 @@
1
1
  module Asaas
2
- VERSION = "0.2.9"
2
+ VERSION = "0.2.10"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: asaas-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.9
4
+ version: 0.2.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcos Junior
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-06-17 00:00:00.000000000 Z
11
+ date: 2019-07-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -221,6 +221,7 @@ files:
221
221
  - lib/asaas/api/notification.rb
222
222
  - lib/asaas/api/payment.rb
223
223
  - lib/asaas/api/subscription.rb
224
+ - lib/asaas/api/webhook.rb
224
225
  - lib/asaas/client.rb
225
226
  - lib/asaas/configuration.rb
226
227
  - lib/asaas/entity.rb