cadooz 2.2.3 → 2.2.4

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: 2919e5a5f61b1fc0ae7758feb00de29940ffebcf
4
- data.tar.gz: d34716dad10086c779714d434257f1cc25c9f950
3
+ metadata.gz: fb6cb3c36d848c0df8b7cee0f583cf7cb6bda671
4
+ data.tar.gz: 403cfcfa24d0aeac9ee73c1032e7d3b2a62b7516
5
5
  SHA512:
6
- metadata.gz: de490f422521be2291f55b167cb1d101dc13174b0e00fcfa2fc8b868ad1a634aa2d330f4e7d2dd4aeaec41f07c906ed0fa0388083b98d4e5c9970ec8b5f015cb
7
- data.tar.gz: 4e1da026047d4acfaeb073682c5ec888876ee63be7008cd6bd952f718a4078abd363cd70db671d5d2f34b18eec36945d1939796015d23bc368d84f7b1789c656
6
+ metadata.gz: 954b0075446f8b28d04ccdb2f4f05992165bcf113322a34fef73429032fc5fa4b83005fd4bc738fdb82050c8f7909e19c9ed01cd034fc043a7a6e83695d27387
7
+ data.tar.gz: 54be854200a60d25bd57cd4eedb65730a3019ee5a8b604de992f66f6f4f7f54adcbe6e22b7b47cfd19c002f94a11ccaeb632c2031354ae1fb88d4724f1bd4cb8
@@ -16,7 +16,7 @@ class Cadooz::Mutable::Address
16
16
  @salutation = args[:salutation]
17
17
  @state = args[:state]
18
18
  @street = args[:street]
19
- @street_addon = street_addon
19
+ @street_addon = args[:street_addon]
20
20
  @zipcode = args[:zipcode]
21
21
 
22
22
  default_value_for_nil
@@ -18,17 +18,15 @@ class Cadooz::Mutable::Order
18
18
  @generation_profile = args[:generation_profile]
19
19
  @greeting_card = args[:greeting_card] # Cadooz::Mutable::GreetingCard.new
20
20
  @invoice_address = args[:invoice_address] # Cadooz::Mutable::Address.new
21
- @invoice_information = args[:invoice_information] # Cadooz::Mutable::InvoiceInformation
21
+ @invoice_information = Array(args[:invoice_information]) # Cadooz::Mutable::InvoiceInformation
22
22
  @language = args[:language]
23
23
  @order_attributes = args[:order_attributes]
24
24
  @order_description = args[:order_description]
25
- @order_positions = args[:order_positions] # Cadooz::Mutable::OrderPosition
26
- @payment_informations = args[:payment_informations] # Cadooz::Mutable::Payment
25
+ @order_positions = Array(args[:order_positions]) # Cadooz::Mutable::OrderPosition
26
+ @payment_informations = Array(args[:payment_informations]) # Cadooz::Mutable::Payment
27
27
  @queue = args[:queue]
28
28
  @send_mail = args[:send_mail]
29
29
  @test = args[:test]
30
30
  @website = args[:website]
31
-
32
- default_value_for_nil
33
31
  end
34
32
  end
@@ -18,7 +18,5 @@ class Cadooz::Mutable::OrderPosition
18
18
  @voucher_address = args[:voucher_address]
19
19
  @voucher_address_editable = args[:voucher_address_editable]
20
20
  @voucher_address_preset = args[:voucher_address_preset]
21
-
22
- default_value_for_nil
23
21
  end
24
22
  end
@@ -1,3 +1,3 @@
1
1
  module Cadooz
2
- VERSION = '2.2.3'
2
+ VERSION = '2.2.4'
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: 2.2.3
4
+ version: 2.2.4
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-06-09 00:00:00.000000000 Z
11
+ date: 2016-06-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: savon