billimatic-client 0.14.0 → 0.14.1

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: d18d91314d19f6438fe32e72d37e276eaa41549e
4
- data.tar.gz: 5474439a6bb671f99c7b44c6f44b144fbee67ef4
3
+ metadata.gz: b4952383d3e60934abcecd39391d9c7d1218a641
4
+ data.tar.gz: 09067336d5b0d9f9a437bba4ea053f614765d1f1
5
5
  SHA512:
6
- metadata.gz: 4ced147db6819cb0ec734d38f58c1fcf616c63719b14fa1bc59f0b29287cad2c71eab31692bf385fa4837adb37e6ecffe19232dae7d0352a064061fc7b79835f
7
- data.tar.gz: 6062ad3d98e07099c2d2615225f82f53202d6baa1f4a932a02df201c026a00b4833ef3b8750ebc317350f97a5f3969a9dc2c6a2d776844a5ddcf6a2ea8d7c1a1
6
+ metadata.gz: 08b936ca1996a57d401bf74560ab5293018fc2286a6f609f1e52f920a16230a427188aa464a7566fc757910506cda70a4f8b992b4b63a06295d965af7cfa637d
7
+ data.tar.gz: 5495b00ad343a478afc1c82b98450a06764ee15d48888c9aa07089ea2f8f5c6675d49386ef19b4a2c4efd5d3a61fc8c9aebebbb49df56e648cd707f82440cd70
data/CHANGELOG.md ADDED
@@ -0,0 +1,8 @@
1
+ # Changelog
2
+
3
+ ## Next version
4
+
5
+ ## v0.14.1
6
+
7
+ - Adds `cobrato_payment_gateway_charge_config_id` and `cobrato_payment_gateway_charge_config_name` attributes on Contract and Subscription entities.
8
+ - Adds `payment_information` attribute on Invoice and InvoiceRule entities, which represents an association to a PaymentInformation entity.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- billimatic-client (0.14.0)
4
+ billimatic-client (0.14.1)
5
5
  multi_json (~> 1.11)
6
6
  typhoeus (~> 0.8)
7
7
  virtus (~> 1.0.5)
@@ -22,6 +22,8 @@ module Billimatic
22
22
  attribute :status, String
23
23
  attribute :cancel_date, Date
24
24
  attribute :cancel_reason, String
25
+ attribute :cobrato_payment_gateway_charge_config_id, Integer
26
+ attribute :cobrato_payment_gateway_charge_config_name, String
25
27
  attribute :plan, Plan
26
28
  end
27
29
  end
@@ -35,6 +35,7 @@ module Billimatic
35
35
  attribute :automatic_email_template_id, Integer
36
36
  attribute :receivables, [Receivable]
37
37
  attribute :services, [Service]
38
+ attribute :payment_information, PaymentInformation
38
39
  attribute :attachments, [Hash]
39
40
  attribute :approval_status, String
40
41
  end
@@ -24,6 +24,7 @@ module Billimatic
24
24
  attribute :additional_information, Hash
25
25
  attribute :scheduled_update, Hash
26
26
  attribute :receivables_additional_information, Hash
27
+ attribute :payment_information, PaymentInformation
27
28
  end
28
29
  end
29
30
  end
@@ -1,3 +1,3 @@
1
1
  module Billimatic
2
- VERSION = '0.14.0'
2
+ VERSION = '0.14.1'
3
3
  end
data/lib/billimatic.rb CHANGED
@@ -12,6 +12,7 @@ require 'billimatic/url_helpers'
12
12
  require 'billimatic/entities/base'
13
13
  require 'billimatic/entities/service_item'
14
14
  require 'billimatic/entities/entity_service_item'
15
+ require 'billimatic/entities/payment_information'
15
16
  require 'billimatic/entities/product'
16
17
  require 'billimatic/entities/service'
17
18
  require 'billimatic/entities/receivable'
@@ -25,7 +26,6 @@ require 'billimatic/entities/organization'
25
26
  require 'billimatic/entities/contract'
26
27
  require 'billimatic/entities/invoice'
27
28
  require 'billimatic/entities/invoice_rule'
28
- require 'billimatic/entities/payment_information'
29
29
  require 'billimatic/entities/subscription'
30
30
  require 'billimatic/entities/webhook'
31
31
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: billimatic-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.14.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rodrigo Tassinari de Oliveira
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: exe
13
13
  cert_chain: []
14
- date: 2017-06-21 00:00:00.000000000 Z
14
+ date: 2017-07-24 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: typhoeus
@@ -211,6 +211,7 @@ files:
211
211
  - ".rspec"
212
212
  - ".rubocop.yml"
213
213
  - ".travis.yml"
214
+ - CHANGELOG.md
214
215
  - Gemfile
215
216
  - Gemfile.lock
216
217
  - Guardfile