cadooz 1.0.4 → 1.0.6

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: 5071d73d4e0a631a46ec9079446274c86a522f78
4
- data.tar.gz: 3695cc2f5e2b980c19e207644de1582467953253
3
+ metadata.gz: 9c6b31bd1dadc8e59eed432870bd3f27287658af
4
+ data.tar.gz: 73a2d34133b9ee9f6469f9663d1c3f945b667d01
5
5
  SHA512:
6
- metadata.gz: 2a40667c4407db13ab47fcb71d0cd1abdc4ffccda8ef0866af21372ca25e59862fb08e1b7e992ebefefe5e28a06d66c26d861ceb2db0e2c04733a75d1951c6ef
7
- data.tar.gz: f313e0d7bccee013c890d45182e6e220f66d83f240de6f9b0b3e5a911b3ff937073a63a033eabd6d6d069405e15ba85c49d7793dd4a7dea68e1a449ec7881ab8
6
+ metadata.gz: 862051f59f58d3ef98ae6e1010f42f428720c17a92d1a048032b6a132b339e1b8665e743c55a124e5c08914f0635730eca0f31888ca4b94de5d7f559229b0d0f
7
+ data.tar.gz: b1689418413e9b9fa731b15b98ff843c311acb6c2cfcc21b2dbdad72f4de550e187463d1e0acf85565133a8404acbf1a7092d1b8e8bcd92582280497602cb962
@@ -51,4 +51,5 @@ require_relative 'cadooz/models/mutable/greeting_card'
51
51
  require_relative 'cadooz/models/mutable/invoice_information'
52
52
  require_relative 'cadooz/models/mutable/order'
53
53
  require_relative 'cadooz/models/mutable/order_position'
54
+ require_relative 'cadooz/models/mutable/payment'
54
55
  require_relative 'cadooz/services/business_order_service'
@@ -18,12 +18,12 @@ class Cadooz::Mutable::Order
18
18
  @generation_profile = nil
19
19
  @greeting_card = Cadooz::Mutable::GreetingCard.new
20
20
  @invoice_address = Cadooz::Mutable::Address.new
21
- @invoice_information = [] # Cadooz::InvoiceInformation
21
+ @invoice_information = [] # Cadooz::Mutable::InvoiceInformation
22
22
  @language = nil
23
23
  @order_attributes = nil
24
24
  @order_description = nil
25
- @order_positions = [] # Cadooz::OrderPosition
26
- @payment_informations = nil
25
+ @order_positions = [] # Cadooz::Mutable::OrderPosition
26
+ @payment_informations = [] # Cadooz::Mutable::Payment
27
27
  @queue = nil
28
28
  @send_mail = nil
29
29
  @test = nil
@@ -0,0 +1,14 @@
1
+ class Cadooz::Mutable::Payment
2
+ include ::Mixins
3
+
4
+ attr_accessor :attributes, :description, :paid, :type, :value, :verified
5
+
6
+ def initialize
7
+ @attributes = nil
8
+ @description = nil
9
+ @paid = nil
10
+ @type = nil
11
+ @value = nil
12
+ @verified = nil
13
+ end
14
+ end
@@ -1,3 +1,3 @@
1
1
  module Cadooz
2
- VERSION = '1.0.4'
2
+ VERSION = '1.0.6'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cadooz
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Brown
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-07 00:00:00.000000000 Z
11
+ date: 2016-03-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: savon
@@ -84,6 +84,7 @@ files:
84
84
  - lib/cadooz/models/mutable/invoice_information.rb
85
85
  - lib/cadooz/models/mutable/order.rb
86
86
  - lib/cadooz/models/mutable/order_position.rb
87
+ - lib/cadooz/models/mutable/payment.rb
87
88
  - lib/cadooz/services/business_order_service.rb
88
89
  - lib/cadooz/version.rb
89
90
  - lib/mixins.rb