cadooz 1.0.4 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cadooz.rb +1 -0
- data/lib/cadooz/models/mutable/order.rb +3 -3
- data/lib/cadooz/models/mutable/payment.rb +14 -0
- data/lib/cadooz/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9c6b31bd1dadc8e59eed432870bd3f27287658af
|
4
|
+
data.tar.gz: 73a2d34133b9ee9f6469f9663d1c3f945b667d01
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 862051f59f58d3ef98ae6e1010f42f428720c17a92d1a048032b6a132b339e1b8665e743c55a124e5c08914f0635730eca0f31888ca4b94de5d7f559229b0d0f
|
7
|
+
data.tar.gz: b1689418413e9b9fa731b15b98ff843c311acb6c2cfcc21b2dbdad72f4de550e187463d1e0acf85565133a8404acbf1a7092d1b8e8bcd92582280497602cb962
|
data/lib/cadooz.rb
CHANGED
@@ -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 =
|
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
|
data/lib/cadooz/version.rb
CHANGED
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
|
+
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-
|
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
|