zaikio-mission_control 0.2.8 → 0.2.10

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
  SHA256:
3
- metadata.gz: 7925e569924adbf623751a8ab1751f98b59d8e68d852fa6f77f63c90cc9f75f7
4
- data.tar.gz: aff798377dec71f0d31ba156b8e2aa1a97b7878ba303e298a669bb291d09ae4a
3
+ metadata.gz: 98c904ea815fe62e01daf9c992a6c82f51e34d8667474de89d016d81f882516e
4
+ data.tar.gz: 84c10dee50e6ce1f8ab67127903715baa5701de3cfa1ef85149574ab1091861d
5
5
  SHA512:
6
- metadata.gz: b4e5707297f8f5ef1a2ec24f6916f9b83edfe8c94280c837ddd2c6a1326187a0538ff3dcad1d528c472ef7404b33422d623b89aa115d4a8db2d08153ebdc09f0
7
- data.tar.gz: 8b22565935f78dbd31827bb785a11b3dfee28d46ea9a5a8462ad0b7a15899a902811756cc0e8f5df86ea872a702e068f8be999083b0449e95c9200de879dd409
6
+ metadata.gz: f377f32988710e0d4d2695de781da0a38d19c6dffa00cf01a1e64ae295866150a0979f2c19e1b35516ddbf72d29374c046536e9595a1e6677e0f0cc8859b2b72
7
+ data.tar.gz: a6828e227ae884fb892297fb77a0f876d9e8c367b6b413df1562c0ae87d4d7205e844d68653f08efa590a5ad128e79a8cdcd9ad7c2ea608d9a34a6e66ee32deb
@@ -1,6 +1,8 @@
1
1
  module Zaikio
2
2
  module MissionControl
3
3
  class Execution < Base
4
+ include_root_in_json :execution
5
+
4
6
  attributes :id, :operator_id, :machine_id, :workstep_id, :quantity, :waste, :started_at, :ended_at, :phase,
5
7
  :created_at, :updated_at
6
8
  end
@@ -6,6 +6,7 @@ module Zaikio
6
6
 
7
7
  # Associations
8
8
  has_many :line_items, class_name: "Zaikio::MissionControl::OrderLineItem", uri: nil
9
+ has_many :shipping_options, class_name: "Zaikio::MissionControl::ShippingOption", uri: nil
9
10
  end
10
11
  end
11
12
  end
@@ -0,0 +1,8 @@
1
+ module Zaikio
2
+ module MissionControl
3
+ class ShippingOption < Base
4
+ attributes :id, :carrier, :service
5
+ has_one :address, uri: nil, class_name: "Address"
6
+ end
7
+ end
8
+ end
@@ -1,5 +1,5 @@
1
1
  module Zaikio
2
2
  module MissionControl
3
- VERSION = "0.2.8".freeze
3
+ VERSION = "0.2.10".freeze
4
4
  end
5
5
  end
@@ -88,6 +88,7 @@ require "zaikio/mission_control/file_reference"
88
88
  require "zaikio/mission_control/machine"
89
89
  require "zaikio/mission_control/order"
90
90
  require "zaikio/mission_control/order_line_item"
91
+ require "zaikio/mission_control/shipping_option"
91
92
  require "zaikio/mission_control/slot"
92
93
  require "zaikio/mission_control/production_frame"
93
94
 
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.8
4
+ version: 0.2.10
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-08-23 00:00:00.000000000 Z
11
+ date: 2023-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby
@@ -187,6 +187,7 @@ files:
187
187
  - lib/zaikio/mission_control/parts/self_mailer.rb
188
188
  - lib/zaikio/mission_control/parts/sheet.rb
189
189
  - lib/zaikio/mission_control/production_frame.rb
190
+ - lib/zaikio/mission_control/shipping_option.rb
190
191
  - lib/zaikio/mission_control/slot.rb
191
192
  - lib/zaikio/mission_control/version.rb
192
193
  homepage: https://www.zaikio.com/