correios_api 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/correios_api/client.rb +10 -0
- data/lib/correios_api/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: 591f35905788fef362533247729ef047e2e20a29c2b648ee5e48bcad9b168f42
|
4
|
+
data.tar.gz: 71f0bb4ce1f70c524d34c924ff4d5f0f6140a57f2a5586cdeb6dede2dbaf6772
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 24f5c8b85c8fdd5c344a3a30b411893afdf77eed073b857281f105b7504f8d0aa37cf604e4b32bf08893e92e795908782d68743bb0d9a3b3401cd70bf16339ec
|
7
|
+
data.tar.gz: b7cd40c9033885431898dc0c37d52f203138babb7c0f58c0e37cc9003cf53210700c8f0be1e90b38375bc7dee77a72994e53a6f257f85bdfeba118fd32019abf
|
data/lib/correios_api/client.rb
CHANGED
@@ -8,10 +8,18 @@ module CorreiosApi
|
|
8
8
|
code: "03220",
|
9
9
|
name: "SEDEX CONTRATO AG"
|
10
10
|
},
|
11
|
+
{
|
12
|
+
code: "04553",
|
13
|
+
name: "SEDEX CONTRATO AGENCIA TA"
|
14
|
+
},
|
11
15
|
{
|
12
16
|
code: "03298",
|
13
17
|
name: "PAC CONTRATO AG"
|
14
18
|
},
|
19
|
+
{
|
20
|
+
code: "04596",
|
21
|
+
name: "PAC CONTRATO AGENCIA TA"
|
22
|
+
},
|
15
23
|
{
|
16
24
|
code: "04227",
|
17
25
|
name: "CORREIOS MINI ENVIOS CTR AG"
|
@@ -19,7 +27,9 @@ module CorreiosApi
|
|
19
27
|
]
|
20
28
|
SERVICE_NAMES = {
|
21
29
|
"03220" => "SEDEX CONTRATO AG",
|
30
|
+
"04553" => "SEDEX CONTRATO AGENCIA TA",
|
22
31
|
"03298" => "PAC CONTRATO AG",
|
32
|
+
"04596" => "PAC CONTRATO AGENCIA TA",
|
23
33
|
"04227" => "CORREIOS MINI ENVIOS CTR AG"
|
24
34
|
}
|
25
35
|
|
data/lib/correios_api/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: correios_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Todas Essas Coisas
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-10-
|
11
|
+
date: 2024-10-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: codigo_postal
|