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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a14b2ff87da9ee694ebc7b03aaf07fdc1c38da12f0ed3380db025a23c950eedc
4
- data.tar.gz: 6d4739b162112562d394b21440a5fbd0344d396b5a6e680c9995ea816ed9446a
3
+ metadata.gz: 57d471d22c1fa28186baba8874a6e92d96513363d7b996dfef20e2ce396941ab
4
+ data.tar.gz: c2341e4fb396626402159b2de3bc473bb1a64edb4dad4dea3e892c3376b047b4
5
5
  SHA512:
6
- metadata.gz: abfce6b6bfd62f709cd61560f9d70541bd6be022c1a3fabd1d6097cf7683cb07dde3224e2828273f029ff9cbfa3d037dc8fb49b0671014f7af3618b0361db72b
7
- data.tar.gz: 42eee5f21a022f8bd165d4ec51e8b4660c7c93cc6c882359e02220734939a23329f281b02a36bd85e84b3fab139a2847227b075f777d038d5a30933fdf255bc1
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 = NinjaVan::FlexibleParams.new(serializer).hash
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
@@ -1,3 +1,3 @@
1
1
  module Ghtk
2
- VERSION = "1.0.4"
2
+ VERSION = "1.0.5"
3
3
  end
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
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: 2023-01-16 00:00:00.000000000 Z
11
+ date: 2024-08-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: http