correios_sigep 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZmMwOTc0ZWU2MGUzYTY1NGYyMjRjNDc0MjU4MmIzMjZlZGZmZjNiYw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NTEwYTdiZjRkODVlYzg2Yzc4MzRlZjkwODBjMzA4NWZhNmU5NDZhZQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NDVjOTUyOThlNjY2NmQ5MzhiM2ZmMDAzZWY3YmZiZjBjNWNhNTFlM2U4ZmRm
|
10
|
+
MjQyNTJmYWMzMzYxYmJiOWEyYmMwODVjZTE1Y2Q0ZTc4Mjg3OTBlYjQ3Zjc5
|
11
|
+
MjMwM2YyODdhMjczOWUzZjdjOGMyM2E4NTAzZDQ0ZjliZDdiNGE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MjQ0NzgyMzA3NDQ4MDk3ODc2ZTEwNzkyNTZkYzJlMGI2MTFkNTU4MzY2OTky
|
14
|
+
Yzc0MGYzYWU1NTgwMmNlMjkwNzE0MzU4NWRmZmYyYzhhMzVjZWNlYWE1MmNh
|
15
|
+
NzM0YWFkOTlhMTJiMDY1ODhiODU1OTFiMGFhMzEzMThhYjgxYzE=
|
data/.travis.yml
CHANGED
@@ -1,13 +1,14 @@
|
|
1
1
|
module CorreiosSigep
|
2
2
|
module LogisticReverse
|
3
3
|
class RequestCollectNumber < BaseClient
|
4
|
-
def initialize(logistic_reverse)
|
4
|
+
def initialize(logistic_reverse, overrides={})
|
5
5
|
@logistic_reverse = logistic_reverse
|
6
|
+
@overrides = overrides
|
6
7
|
super()
|
7
8
|
end
|
8
9
|
|
9
10
|
def process
|
10
|
-
xml = Builders::XML::RequestCollectNumber.build_xml(@logistic_reverse)
|
11
|
+
xml = Builders::XML::RequestCollectNumber.build_xml(@logistic_reverse, @overrides)
|
11
12
|
response = invoke(:solicitar_postagem_reversa, xml)
|
12
13
|
process_response response
|
13
14
|
end
|
@@ -1,13 +1,14 @@
|
|
1
1
|
module CorreiosSigep
|
2
2
|
module LogisticReverse
|
3
3
|
class RequestSRO < BaseClient
|
4
|
-
def initialize(sro)
|
4
|
+
def initialize(sro, overrides={})
|
5
5
|
@sro = sro
|
6
|
+
@overrides = overrides
|
6
7
|
super()
|
7
8
|
end
|
8
9
|
|
9
10
|
def process
|
10
|
-
xml = Builders::XML::RequestSRO.build_xml(@sro)
|
11
|
+
xml = Builders::XML::RequestSRO.build_xml(@sro, @overrides)
|
11
12
|
process_response invoke(:acompanhar_pedido, xml)
|
12
13
|
end
|
13
14
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: correios_sigep
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Carlos Ribeiro
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-06-
|
12
|
+
date: 2015-06-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: savon
|