iron_bank 4.1.1 → 4.2.0

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: d44e7e1fbb780dce62c4301319eaae9b7767918965efbc8464586a750dcf28e9
4
- data.tar.gz: db9b086a06d451232162799cc0853f32baf47969e9ee4733e45f530c04f92d92
3
+ metadata.gz: c43b87965a20a054d039009a4da852974532dc4b079b8ceb20d6ec9849a00eb3
4
+ data.tar.gz: a23c602da14f5bcfcf1ed9cc9dcece5a21dc083c7d941c63e444870c3384dfb4
5
5
  SHA512:
6
- metadata.gz: 3c9abe89540d3838aab5a72a6dcea6c8f199810e734d90580cd70716ef9fdef9bafeca463bc048fe88db062c10aea3d0a3cb77638dea197a31395b020e1c7bf2
7
- data.tar.gz: f5c784ab86699b63c81e4b20e83b88299385db150bfc4ca7d55342ecf5742ae1ff303229b39e89a007cc2565a6fda57928510af9b87d63577430cc8d891f34c5
6
+ metadata.gz: e026432778a617ffebe80df42f2fde537a85be17682d34c8f451b8e3548d0d149c74d35c386d7bc038da6bbde18515688e662d582e82ff9a1249853e3a7136d4
7
+ data.tar.gz: 8b7ec698f0e0ecf5a19db78d246980ce117abdaae68dbc67bf5572fd98d366fe48160be8ae35ad17e9db609cbe1798f58828104e4dfae4a7fda0e677abd87637
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- iron_bank (4.1.1)
4
+ iron_bank (4.2.0)
5
5
  faraday (~> 0)
6
6
  faraday_middleware (~> 0)
7
7
  nokogiri (~> 1)
@@ -38,6 +38,9 @@ module IronBank
38
38
  # Parent
39
39
  with_one :parent, resource_name: "Account"
40
40
 
41
+ # Communication Profile
42
+ with_one :communication_profile
43
+
41
44
  def ultimate_parent
42
45
  root if parent
43
46
  end
@@ -0,0 +1,16 @@
1
+ # frozen_string_literal: true
2
+
3
+ module IronBank
4
+ module Resources
5
+ # A Zuora communication profile. Controls which notifications (emails and
6
+ # callouts) are sent to a customers and external systems, e.g. provisioning,
7
+ # when events happen for the account, such as invoice posted, subscription
8
+ # created, etc.
9
+ #
10
+ class CommunicationProfile < Resource
11
+ with_schema
12
+
13
+ with_many :accounts
14
+ end
15
+ end
16
+ end
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module IronBank
4
- VERSION = "4.1.1"
4
+ VERSION = "4.2.0"
5
5
  API_VERSION = "v1"
6
6
  end
data/lib/iron_bank.rb CHANGED
@@ -101,6 +101,7 @@ require "iron_bank/resource"
101
101
  require "iron_bank/collection"
102
102
  require "iron_bank/resources/account"
103
103
  require "iron_bank/resources/amendment"
104
+ require "iron_bank/resources/communication_profile"
104
105
  require "iron_bank/resources/contact"
105
106
  require "iron_bank/resources/export"
106
107
  require "iron_bank/resources/import"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iron_bank
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.1
4
+ version: 4.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mickael Pham
@@ -309,6 +309,7 @@ files:
309
309
  - lib/iron_bank/resource.rb
310
310
  - lib/iron_bank/resources/account.rb
311
311
  - lib/iron_bank/resources/amendment.rb
312
+ - lib/iron_bank/resources/communication_profile.rb
312
313
  - lib/iron_bank/resources/contact.rb
313
314
  - lib/iron_bank/resources/export.rb
314
315
  - lib/iron_bank/resources/import.rb
@@ -350,7 +351,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
350
351
  - !ruby/object:Gem::Version
351
352
  version: '0'
352
353
  requirements: []
353
- rubygems_version: 3.0.3
354
+ rubygems_version: 3.0.6
354
355
  signing_key:
355
356
  specification_version: 4
356
357
  summary: An opinionated Ruby interface to the Zuora API.