asaas-ruby 0.1.10 → 0.1.11

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
  SHA1:
3
- metadata.gz: 291ce562776a14bf9af903e5056506b2f5d75987
4
- data.tar.gz: b1a44412287c5a23d2995a06aea1e4a9185f1a6a
3
+ metadata.gz: bfddda4e72ece3f55953b93af65e9143f62a42b7
4
+ data.tar.gz: 623dfce936dfe6404a47257c74a8680d206c08b2
5
5
  SHA512:
6
- metadata.gz: 2715c97d0954a133836cb753f91039480adccca3083aa9cb5763e9cc3d8ada233219843a12e7b4e5f1519c2bd9863406e93869917dc9d1cb3e9e78a96aa2e76a
7
- data.tar.gz: cf5aba320a3aee8e13ebe488d4f9e99e362061f0ad4f95cc79dc4fd952284930f4e2a0e17a18f1e175e3a563b7efeb7ba7cc9c0ed67e34524ab0fadf96c1e52c
6
+ metadata.gz: bb15e4c2f8a2cea35dd51094f5da56b6e4890582ffdd74e15cbdbf1e85d068d42e75f8701cd4bf55d287ab35e4c68eb8879f4c052c0e9977f42883a1d37a1d71
7
+ data.tar.gz: 0033b7d1f5c0e14950dd20c43df5cb9dfbdb77d47970c2da824ec7556c33354cca5a821bfc2fdd73b95539d1bf715d339ce5fbcc007f1c3c3cb4e2fd32430fdb
@@ -15,6 +15,10 @@ module Asaas
15
15
 
16
16
  mattr_accessor :token
17
17
 
18
+ mattr_accessor :debug do
19
+ false
20
+ end
21
+
18
22
  class << self
19
23
 
20
24
  def setup(&block)
@@ -3,7 +3,7 @@ module Asaas
3
3
  class Account
4
4
  include Virtus.model
5
5
 
6
- attribute :id, Integer
6
+ attribute :id, String
7
7
  attribute :name, String
8
8
  attribute :email, String
9
9
  attribute :phone, String
@@ -3,8 +3,8 @@ module Asaas
3
3
  class City
4
4
  include Virtus.model
5
5
 
6
- attribute :id, Integer
7
- attribute :ibgeCode, Integer
6
+ attribute :id, String
7
+ attribute :ibgeCode, String
8
8
  attribute :name, String
9
9
  attribute :districtCode, Integer
10
10
  attribute :district, String
@@ -2,7 +2,7 @@ module Asaas
2
2
  module Entity
3
3
  class Customer < Asaas::Entity::Base
4
4
 
5
- attribute :id, Integer
5
+ attribute :id, String
6
6
  attribute :name, String
7
7
  attribute :email, String
8
8
  attribute :company, String
@@ -3,7 +3,7 @@ module Asaas
3
3
  class Notification
4
4
  include Virtus.model
5
5
 
6
- attribute :id, Integer
6
+ attribute :id, String
7
7
  attribute :customer, String
8
8
  attribute :event, String
9
9
  attribute :scheduleOffset, Integer
@@ -3,7 +3,7 @@ module Asaas
3
3
  class Payment
4
4
  include Virtus.model
5
5
 
6
- attribute :id, Integer
6
+ attribute :id, String
7
7
  attribute :customer, String
8
8
  attribute :subscription, String
9
9
  attribute :billingType, String
@@ -3,7 +3,7 @@ module Asaas
3
3
  class Subscription
4
4
  include Virtus.model
5
5
 
6
- attribute :id, Integer
6
+ attribute :id, String
7
7
  attribute :customer
8
8
  attribute :value, Float
9
9
  attribute :grossValue, Float
data/lib/asaas/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Asaas
2
- VERSION = "0.1.10"
2
+ VERSION = "0.1.11"
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.1.10
4
+ version: 0.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcos Junior
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-10-23 00:00:00.000000000 Z
11
+ date: 2017-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler