colissimo_label 0.2.0 → 0.3.0
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 +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +2 -2
- data/lib/colissimo_label/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: 5e90802f1cf838c12269ba5ec5727101638c5b06599cbe886bd7eed2829a5778
|
|
4
|
+
data.tar.gz: cdb13594e2d12b5ffa8d054fb47d5a30c6ed086f8d94505d993adb0ddd69dae3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9748ea47123020040a4fa91d90514f3db0badc6c745df86115af7e7d2c4dda8444cd11bf4828be4882430af31f14ab984edc5b1e90bbb78eba8cff75350cd03d
|
|
7
|
+
data.tar.gz: 1fd5976d56c2ab40cf079aeb55409d17212c28809f98dc770f40fd680180b3445e703987d1fe9d26f1a0a7c2a09f58a1a6adaaac66badae6657302fa37e232e8
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -86,7 +86,7 @@ parcel_number = ColissimoLabel::GenerateLabel.new(
|
|
|
86
86
|
mobile: 'Mobile number of the addressee',
|
|
87
87
|
email: 'Email of the addressee'
|
|
88
88
|
}
|
|
89
|
-
).
|
|
89
|
+
).perform
|
|
90
90
|
```
|
|
91
91
|
|
|
92
92
|
For a foreign address (which required customs declaration):
|
|
@@ -127,7 +127,7 @@ parcel_number = ColissimoLabel::GenerateLabel.new(
|
|
|
127
127
|
customs_code: 'hsCode' # Harmonized system code of your product
|
|
128
128
|
}
|
|
129
129
|
]
|
|
130
|
-
).
|
|
130
|
+
).perform
|
|
131
131
|
```
|
|
132
132
|
|
|
133
133
|
In both cases, if the label cannot be generated it raises a StandardError with the reason. Otherwise, the parcel number is returned and files saved in the specified folders.
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: colissimo_label
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- FloXcoder
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-07-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|