ozon-logistics 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 51a82b34eec6a8509a958d4f9a2a2c722aec9327a3f7403a0a87c042e94e556a
4
- data.tar.gz: 6099311d8a81268a660d8446c388f79a8a1d20a34411120e7c5623315dd34ef4
3
+ metadata.gz: 8f4ea93391ed9353bca0813697688ce7f4e1e40124be5da8db39408ba9eb3e2d
4
+ data.tar.gz: 63acc74e32219a54c561054ee5d0a07885e2345607cb5c0a8c7dcd58b176e778
5
5
  SHA512:
6
- metadata.gz: bab04aed9fb8a470f75c75e27b0838e7d851d08fe110d932d596f51e65b8fac9ae24d49c0e0a7d19a1315c1d5b8987644ea0a209ebb266d44da2399753e1e1f7
7
- data.tar.gz: d4ce55c2c8418fd53ee275a6de9535488c7262d3225440ff28fecd3da8d3caf680145daa49db3793ec3a48b1ec46c55892714a71847d05df77703d2d3c3f614e
6
+ metadata.gz: 23a5ec4d76dbc0fedd5e8206c2c12f13b2732c17963d926484972363d716e04f9355747a0f583cee378dc3403ebb9bee8a31e8cd6acfd08b50641208dd4ab14f
7
+ data.tar.gz: a22b9a34526d59c6c3105c835caefcf4c61a6cae5e32c20d57ea6821d01adafebd5430784f7ee696d00de9eb44e30280ef2377c460628515350aa522d7d6c235
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2020 Pavel Osetrov
3
+ Copyright (c) 2021 Pavel Osetrov
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -21,8 +21,7 @@ module OzonLogistics
21
21
  end
22
22
 
23
23
  def method_missing(method, *args)
24
- # To support underscores, we replace them with hyphens when calling the API
25
- @path_parts << method.to_s.gsub("_", "-").downcase
24
+ @path_parts << method.to_s.downcase
26
25
  @path_parts << args if args.length > 0
27
26
  @path_parts.flatten!
28
27
  self
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ozon-logistics
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Osetrov