zaikio-mission_control 0.2.10 → 0.2.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/zaikio/mission_control/contact.rb +7 -0
- data/lib/zaikio/mission_control/customer.rb +7 -0
- data/lib/zaikio/mission_control/order.rb +2 -0
- data/lib/zaikio/mission_control/order_line_item.rb +2 -0
- data/lib/zaikio/mission_control/version.rb +1 -1
- data/lib/zaikio/mission_control.rb +2 -0
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a7eb4a5c061ff33c7921513054217e3707279080b32e19f1503b0d837b112619
|
4
|
+
data.tar.gz: 0ef123da30d916912d018fd682e782c84c950f29f378065adebe4e4e0d206c52
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 87e0bf4d6c933bc7fdc24c40849f41534c707af4dbfa37c9d18becd1bdd5d39a36f53e51e0e125dcddbeb6a0cbe9a277e9349a0ea6539fdb09ee00a381d991eb
|
7
|
+
data.tar.gz: 3f850ae85484d91f3741fd9b6ef48e68249633620d3df04b0ee378f3ef278a5c5c721c957f52bbef85a9f06e29567976c6d016d3960824f3e8d3fbdeb1b9b0c4
|
@@ -7,6 +7,8 @@ module Zaikio
|
|
7
7
|
# Associations
|
8
8
|
has_many :line_items, class_name: "Zaikio::MissionControl::OrderLineItem", uri: nil
|
9
9
|
has_many :shipping_options, class_name: "Zaikio::MissionControl::ShippingOption", uri: nil
|
10
|
+
has_many :contacts, class_name: "Zaikio::MissionControl::Contact", uri: nil
|
11
|
+
has_one :customer, class_name: "Zaikio::MissionControl::Customer", uri: nil
|
10
12
|
end
|
11
13
|
end
|
12
14
|
end
|
@@ -1,6 +1,8 @@
|
|
1
1
|
module Zaikio
|
2
2
|
module MissionControl
|
3
3
|
class OrderLineItem < Base
|
4
|
+
include_root_in_json :execution
|
5
|
+
|
4
6
|
attributes :id, :references, :kind, :job_id, :quantity, :unit, :description, :net_price, :net_total_price,
|
5
7
|
:gross_price, :gross_total_price, :order_number, :taxes, :tax_rate, :created_at, :updated_at, :shipping_option_id
|
6
8
|
end
|
@@ -80,6 +80,8 @@ require "zaikio/mission_control/finishings/thread_sewing"
|
|
80
80
|
require "zaikio/mission_control/job"
|
81
81
|
require "zaikio/mission_control/part"
|
82
82
|
require "zaikio/mission_control/color"
|
83
|
+
require "zaikio/mission_control/contact"
|
84
|
+
require "zaikio/mission_control/customer"
|
83
85
|
require "zaikio/mission_control/desired_substrate"
|
84
86
|
require "zaikio/mission_control/execution"
|
85
87
|
require "zaikio/mission_control/finishing_application"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zaikio-mission_control
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Zaikio GmbH
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-09-
|
11
|
+
date: 2023-09-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: concurrent-ruby
|
@@ -110,6 +110,8 @@ files:
|
|
110
110
|
- lib/zaikio/mission_control/base.rb
|
111
111
|
- lib/zaikio/mission_control/color.rb
|
112
112
|
- lib/zaikio/mission_control/configuration.rb
|
113
|
+
- lib/zaikio/mission_control/contact.rb
|
114
|
+
- lib/zaikio/mission_control/customer.rb
|
113
115
|
- lib/zaikio/mission_control/desired_substrate.rb
|
114
116
|
- lib/zaikio/mission_control/execution.rb
|
115
117
|
- lib/zaikio/mission_control/file_reference.rb
|