zaikio-mission_control 0.2.11 → 0.3.0
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/configuration.rb +5 -5
- 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/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: 270f5c69fda2e4596a2a41074385f786d4b510c7e103706dd85d64b4c2207fc1
|
4
|
+
data.tar.gz: 6e5823aa68f3275a253a4abee3e66e674df88bbd8f127090d3e8fb43c5f638c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b79af184c9c0ebb10d03c6e88ead260f411e592583220df92575988ddbec8395aa7d122e3ccc25109a17058856ea9288d9b7693714cdc2646755abfb337cdb3
|
7
|
+
data.tar.gz: e74b8f280659e421ad702858fb79973bb1e6423cc8bdce0438bd606cbb2d44482d04d4af2612b08a484c24d869802652cc41f340b00434071ed38cb94b9636a0
|
@@ -5,11 +5,11 @@ module Zaikio
|
|
5
5
|
class Configuration < Zaikio::Client::Helpers::Configuration
|
6
6
|
def self.hosts
|
7
7
|
{
|
8
|
-
development: "https://
|
9
|
-
test: "https://
|
10
|
-
staging: "https://
|
11
|
-
sandbox: "https://
|
12
|
-
production: "https://
|
8
|
+
development: "https://data.zaikio.test/api/v1/",
|
9
|
+
test: "https://data.zaikio.test/api/v1/",
|
10
|
+
staging: "https://data.staging.zaikio.com/api/v1/",
|
11
|
+
sandbox: "https://data.sandbox.zaikio.com/api/v1/",
|
12
|
+
production: "https://data.zaikio.com/api/v1/"
|
13
13
|
}.freeze
|
14
14
|
end
|
15
15
|
end
|
@@ -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
|
@@ -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.
|
4
|
+
version: 0.3.0
|
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-28 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
|