zaikio-mission_control 0.2.7 → 0.2.8

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: 998b37435820f28795b06c09bf6e33674c774f0e61e28822c8fd8190d119d7a3
4
- data.tar.gz: c4f9d2a1f91b7df9ef2693023b555c01abd644cf5b17a163bf771df8a437ad90
3
+ metadata.gz: 7925e569924adbf623751a8ab1751f98b59d8e68d852fa6f77f63c90cc9f75f7
4
+ data.tar.gz: aff798377dec71f0d31ba156b8e2aa1a97b7878ba303e298a669bb291d09ae4a
5
5
  SHA512:
6
- metadata.gz: daacb7f36451b53078f7768b7e3a007f83d2321c315085824e67ddffa2ecd5d79cb88b12a5947e937615f0f24ad90ed5f622964826f64f3f2b127dcd756f6bc4
7
- data.tar.gz: eabefa0d514121b2af872adaa4a5046baa93afd21fa3b4ebebd0778460303d0046d235b2cc097d75bc292e235267b0d6a18be2f2daa9ddd24f583a71edcacfec
6
+ metadata.gz: b4e5707297f8f5ef1a2ec24f6916f9b83edfe8c94280c837ddd2c6a1326187a0538ff3dcad1d528c472ef7404b33422d623b89aa115d4a8db2d08153ebdc09f0
7
+ data.tar.gz: 8b22565935f78dbd31827bb785a11b3dfee28d46ea9a5a8462ad0b7a15899a902811756cc0e8f5df86ea872a702e068f8be999083b0449e95c9200de879dd409
@@ -0,0 +1,11 @@
1
+ module Zaikio
2
+ module MissionControl
3
+ class Order < Base
4
+ attributes :id, :state, :references, :currency, :net_total, :gross_total, :started_at, :taxes,
5
+ :confirmed_at, :canceled_at, :fulfilled_at, :created_at, :updated_at
6
+
7
+ # Associations
8
+ has_many :line_items, class_name: "Zaikio::MissionControl::OrderLineItem", uri: nil
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,8 @@
1
+ module Zaikio
2
+ module MissionControl
3
+ class OrderLineItem < Base
4
+ attributes :id, :references, :kind, :job_id, :quantity, :unit, :description, :net_price, :net_total_price,
5
+ :gross_price, :gross_total_price, :order_number, :taxes, :tax_rate, :created_at, :updated_at, :shipping_option_id
6
+ end
7
+ end
8
+ end
@@ -1,5 +1,5 @@
1
1
  module Zaikio
2
2
  module MissionControl
3
- VERSION = "0.2.7".freeze
3
+ VERSION = "0.2.8".freeze
4
4
  end
5
5
  end
@@ -86,6 +86,8 @@ require "zaikio/mission_control/finishing_application"
86
86
  require "zaikio/mission_control/finishing"
87
87
  require "zaikio/mission_control/file_reference"
88
88
  require "zaikio/mission_control/machine"
89
+ require "zaikio/mission_control/order"
90
+ require "zaikio/mission_control/order_line_item"
89
91
  require "zaikio/mission_control/slot"
90
92
  require "zaikio/mission_control/production_frame"
91
93
 
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.7
4
+ version: 0.2.8
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-22 00:00:00.000000000 Z
11
+ date: 2023-08-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby
@@ -158,6 +158,8 @@ files:
158
158
  - lib/zaikio/mission_control/jobs/sheet.rb
159
159
  - lib/zaikio/mission_control/jobs/softcover_book.rb
160
160
  - lib/zaikio/mission_control/machine.rb
161
+ - lib/zaikio/mission_control/order.rb
162
+ - lib/zaikio/mission_control/order_line_item.rb
161
163
  - lib/zaikio/mission_control/part.rb
162
164
  - lib/zaikio/mission_control/parts/back.rb
163
165
  - lib/zaikio/mission_control/parts/base.rb