ghtk 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ghtk/order.rb +1 -1
- data/lib/ghtk/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 57d471d22c1fa28186baba8874a6e92d96513363d7b996dfef20e2ce396941ab
|
4
|
+
data.tar.gz: c2341e4fb396626402159b2de3bc473bb1a64edb4dad4dea3e892c3376b047b4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b9da21a32f17733c8dbb55297c812e52142db853b2fb411fa905b316e8d72581fb0f47a0412c1759610379b5b6a88dfedf566b0ab4ec2ab7c57d8f4058b362d8
|
7
|
+
data.tar.gz: e71dd706f3ab4c6e776d1b5ad95555c0823c6bbddcbd98eb6e7dc5558381b3db9e33d430d42b307ad63c412652e4db9bda1e0c598f9b5e4a7395f388ee85526e
|
data/lib/ghtk/order.rb
CHANGED
@@ -2,7 +2,7 @@ module Ghtk
|
|
2
2
|
class Order
|
3
3
|
|
4
4
|
def self.create(serializer)
|
5
|
-
create_data =
|
5
|
+
create_data = Ghtk::FlexibleParams.new(serializer).hash
|
6
6
|
Ghtk::Validations::OrderValidation.new(create_data).validate!
|
7
7
|
Ghtk::Request.post('/services/shipment/order', create_data)
|
8
8
|
rescue Ghtk::RequestError => e
|
data/lib/ghtk/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ghtk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- KhoaRB
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-08-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: http
|