cashbox 0.0.6 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8dd4fba941fd6503fe9dbd21669e9335236ae844
4
- data.tar.gz: aae45811960baef6c3c88a82d0a42c6964713b71
3
+ metadata.gz: 71ce789cccd67d7acd0cca2a6080c8d68c6f8e38
4
+ data.tar.gz: 64f9af0d098aec554b698f6954a83ea0f63a8e4a
5
5
  SHA512:
6
- metadata.gz: 1de19b6e99b2bbbc7f8e491a1fa8dae71271f9597eeecfea293ff7db101c1ef9c53078795a371315f4a4ffe5e3de60cb1c8c151820a6c7cdfd51f5185fd40108
7
- data.tar.gz: 6cfe5eee770aa2b48d3f935415aef15014178a3ba4e560a11d98ae9bf60c0e2c66a5e2a01915198f9862106e42fa191c72e139a4b6773db6a569635ba471eeec
6
+ metadata.gz: 599df992ed92219c333ce0a58b50929ddb01c90bc89030391442839f8f7af2804c15f347d8cc4bb432e79b874ea250f34fba69600803c6d2ea0ff514ee48c6e2
7
+ data.tar.gz: 1694b313d9b0379d5ac22354286aa723c63a86a3abfaf4d7f0319d676dc42e78e38648588f6bf3331e20d83ade89c86241aad67140346a19e0919e7dde6e8fb7
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cashbox (0.0.4)
4
+ cashbox (0.0.7)
5
5
  activesupport
6
6
  addressable
7
7
  hashie
@@ -32,7 +32,7 @@ GEM
32
32
  hashie (3.5.7)
33
33
  httparty (0.16.2)
34
34
  multi_xml (>= 0.5.2)
35
- i18n (1.0.0)
35
+ i18n (1.0.1)
36
36
  concurrent-ruby (~> 1.0)
37
37
  method_source (0.8.2)
38
38
  minitest (5.11.3)
data/lib/cashbox.rb CHANGED
@@ -55,6 +55,7 @@ module Cashbox
55
55
  autoload :BillingPlanPeriod
56
56
  autoload :CreditCard
57
57
  autoload :Description
58
+ autoload :DirectDebit
58
59
  autoload :Entitlement
59
60
  autoload :Invoice
60
61
  autoload :InvoiceItem
@@ -0,0 +1,11 @@
1
+ module Cashbox
2
+ class DirectDebit < Model
3
+ include Cashbox::Concern::Objectable
4
+
5
+ property :vid
6
+ property :account
7
+ property :account_length
8
+ property :bank_sort_code
9
+ property :country_code
10
+ end
11
+ end
@@ -7,6 +7,7 @@ module Cashbox
7
7
  property :vid
8
8
  property :created, coerce: Cashbox::Type.DateTime
9
9
  property :credit_card, coerce: Cashbox::CreditCard
10
+ property :direct_debit, coerce: Cashbox::DirectDebit
10
11
  property :paypal, coerce: Cashbox::PayPal
11
12
  property :primary
12
13
  property :active
@@ -1,3 +1,3 @@
1
1
  module Cashbox
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cashbox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathon Storer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-04-30 00:00:00.000000000 Z
11
+ date: 2018-05-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -180,6 +180,7 @@ files:
180
180
  - lib/cashbox/model/billing_plan_period.rb
181
181
  - lib/cashbox/model/credit_card.rb
182
182
  - lib/cashbox/model/description.rb
183
+ - lib/cashbox/model/direct_debit.rb
183
184
  - lib/cashbox/model/entitlement.rb
184
185
  - lib/cashbox/model/invoice.rb
185
186
  - lib/cashbox/model/invoice_item.rb