tinyerp_ruby 0.4.4 → 0.4.6
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 +5 -13
- data/README.md +1 -1
- data/lib/tinyerp_ruby/poster.rb +6 -2
- data/lib/tinyerp_ruby/version.rb +1 -1
- data/spec/support/vcr/TinyerpRuby_Poster/_call/output_a_hash.yml +12 -11
- data/spec/support/vcr/TinyerpRuby_Poster/_call/output_keys_as_symbols.yml +12 -11
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_alterar_contato_service_as_a_valid_service.yml +15 -16
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_alterar_contato_xml_as_a_valid_service.yml +39 -67
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_alterar_grupo_tag_service_as_a_valid_service.yml +34 -65
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_alterar_grupo_tag_xml_as_a_valid_service.yml +39 -67
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_alterar_produto_service_as_a_valid_service.yml +13 -16
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_alterar_produto_xml_as_a_valid_service.yml +65 -37
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_alterar_tag_service_as_a_valid_service.yml +34 -65
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_alterar_tag_xml_as_a_valid_service.yml +8 -8
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_gerar_ordem_produca_pedido_service_as_a_valid_service.yml +8 -8
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_incluir_contato_service_as_a_valid_service.yml +13 -16
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_incluir_contato_xml_as_a_valid_service.yml +8 -8
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_incluir_contrato_service_as_a_valid_service.yml +15 -16
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_incluir_contrato_xml_as_a_valid_service.yml +10 -10
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_incluir_grupo_tag_service_as_a_valid_service.yml +13 -16
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_incluir_grupo_tag_xml_as_a_valid_service.yml +65 -37
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_incluir_nota_fiscal_service_as_a_valid_service.yml +16 -16
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_incluir_nota_fiscal_xml_as_a_valid_service.yml +10 -10
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_incluir_nota_servico_service_as_a_valid_service.yml +17 -16
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_incluir_nota_servico_xml_as_a_valid_service.yml +37 -65
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_incluir_pedido_service_as_a_valid_service.yml +15 -16
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_incluir_pedido_xml_as_a_valid_service.yml +8 -8
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_incluir_produto_service_as_a_valid_service.yml +15 -16
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_incluir_produto_xml_as_a_valid_service.yml +8 -8
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_incluir_tag_service_as_a_valid_service.yml +34 -65
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_incluir_tag_xml_as_a_valid_service.yml +37 -65
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_lista_atualizacoes_estoque_service_as_a_valid_service.yml +8 -8
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_lista_atualizacoes_estoque_xml_as_a_valid_service.yml +19 -19
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_lista_atualizacoes_produtos_service_as_a_valid_service.yml +36 -66
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_lista_atualizacoes_produtos_xml_as_a_valid_service.yml +19 -18
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_obter_contato_service_as_a_valid_service.yml +36 -64
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_obter_contato_xml_as_a_valid_service.yml +35 -65
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_obter_contrato_service_as_a_valid_service.yml +35 -64
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_obter_contrato_xml_as_a_valid_service.yml +8 -8
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_obter_estoque_produto_service_as_a_valid_service.yml +35 -66
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_obter_estoque_produto_xml_as_a_valid_service.yml +8 -8
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_obter_estrutura_produto_service_as_a_valid_service.yml +35 -66
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_obter_estrutura_produto_xml_as_a_valid_service.yml +8 -8
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_obter_nota_fiscal_service_as_a_valid_service.yml +35 -65
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_obter_nota_fiscal_xml_as_a_valid_service.yml +8 -8
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_obter_nota_servico_service_as_a_valid_service.yml +36 -64
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_obter_nota_servico_xml_as_a_valid_service.yml +8 -8
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_obter_pedido_service_as_a_valid_service.yml +36 -64
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_obter_pedido_xml_as_a_valid_service.yml +18 -17
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_obter_produto_service_as_a_valid_service.yml +36 -64
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_obter_produto_xml_as_a_valid_service.yml +17 -18
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_obter_tags_produto_service_as_a_valid_service.yml +35 -66
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_obter_tags_produto_xml_as_a_valid_service.yml +18 -17
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_obter_xml_nota_fiscal_as_a_valid_service.yml +15 -16
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_pesquisar_contatos_service_as_a_valid_service.yml +37 -66
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_pesquisar_contatos_xml_as_a_valid_service.yml +36 -65
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_pesquisar_contratos_service_as_a_valid_service.yml +17 -19
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_pesquisar_contratos_xml_as_a_valid_service.yml +8 -8
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_pesquisar_grupos_tag_service_as_a_valid_service.yml +35 -64
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_pesquisar_grupos_tag_xml_as_a_valid_service.yml +17 -18
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_pesquisar_notas_fiscais_service_as_a_valid_service.yml +18 -19
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_pesquisar_notas_fiscais_xml_as_a_valid_service.yml +8 -8
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_pesquisar_notas_servico_service_as_a_valid_service.yml +8 -8
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_pesquisar_notas_servico_xml_as_a_valid_service.yml +8 -8
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_pesquisar_pedidos_service_as_a_valid_service.yml +19 -17
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_pesquisar_pedidos_xml_as_a_valid_service.yml +8 -8
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_pesquisar_produtos_service_as_a_valid_service.yml +35 -66
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_pesquisar_produtos_xml_as_a_valid_service.yml +8 -8
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_pesquisar_tag_service_as_a_valid_service.yml +17 -18
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_pesquisar_tag_xml_as_a_valid_service.yml +20 -19
- data/spec/support/vcr/TinyerpRuby_Service/accepts/_pesquisar_vendedores_service_as_a_valid_service.yml +35 -66
- data/spec/tinyerp_ruby/service_spec.rb +5 -4
- metadata +14 -16
- data/spec/support/vcr/TinyerpRuby_Service/accepts/poster_post.yml +0 -1582
|
@@ -21,7 +21,7 @@ http_interactions:
|
|
|
21
21
|
Content-Type:
|
|
22
22
|
- text/xml; charset=ISO-8859-1
|
|
23
23
|
Date:
|
|
24
|
-
- Tue, 08 Apr 2014
|
|
24
|
+
- Tue, 08 Apr 2014 13:45:53 GMT
|
|
25
25
|
Expires:
|
|
26
26
|
- Thu, 19 Nov 1981 08:52:00 GMT
|
|
27
27
|
Pragma:
|
|
@@ -29,7 +29,7 @@ http_interactions:
|
|
|
29
29
|
Server:
|
|
30
30
|
- Apache/2.2.25 (Amazon)
|
|
31
31
|
Set-Cookie:
|
|
32
|
-
- PHPSESSID=
|
|
32
|
+
- PHPSESSID=lkkrucgtsd7qnncff3pn8mg4o676fbbl; path=/
|
|
33
33
|
X-Powered-By:
|
|
34
34
|
- PHP/5.3.27
|
|
35
35
|
Transfer-Encoding:
|
|
@@ -1494,7 +1494,7 @@ http_interactions:
|
|
|
1494
1494
|
aW9uPSJodHRwOi8vd3d3LnRpbnkuY29tLmJyL2FwaTIucGhwIi8+CiAgPC9w
|
|
1495
1495
|
b3J0Pgo8L3NlcnZpY2U+CjwvZGVmaW5pdGlvbnM+
|
|
1496
1496
|
http_version:
|
|
1497
|
-
recorded_at: Tue, 08 Apr 2014
|
|
1497
|
+
recorded_at: Tue, 08 Apr 2014 13:45:53 GMT
|
|
1498
1498
|
- request:
|
|
1499
1499
|
method: post
|
|
1500
1500
|
uri: http://www.tiny.com.br/api2.php
|
|
@@ -1502,14 +1502,14 @@ http_interactions:
|
|
|
1502
1502
|
encoding: US-ASCII
|
|
1503
1503
|
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
|
1504
1504
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="urn:tinywsdl"
|
|
1505
|
-
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:pesquisarNotasFiscaisService><token><APIKEY></token><formato>json</formato></tns:pesquisarNotasFiscaisService></env:Body></env:Envelope>
|
|
1505
|
+
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:pesquisarNotasFiscaisService><token><APIKEY></token><foo>"bar"</foo><formato>json</formato></tns:pesquisarNotasFiscaisService></env:Body></env:Envelope>
|
|
1506
1506
|
headers:
|
|
1507
1507
|
Soapaction:
|
|
1508
1508
|
- ! '"urn:tinywsdl#pesquisarNotasFiscaisService"'
|
|
1509
1509
|
Content-Type:
|
|
1510
1510
|
- text/xml;charset=UTF-8
|
|
1511
1511
|
Content-Length:
|
|
1512
|
-
- '
|
|
1512
|
+
- '439'
|
|
1513
1513
|
Accept:
|
|
1514
1514
|
- ! '*/*'
|
|
1515
1515
|
User-Agent:
|
|
@@ -1529,7 +1529,7 @@ http_interactions:
|
|
|
1529
1529
|
dGV4dC94bWw7IGNoYXJzZXQ9VVRGLTg=
|
|
1530
1530
|
!binary "RGF0ZQ==":
|
|
1531
1531
|
- !binary |-
|
|
1532
|
-
|
|
1532
|
+
VHVlLCAwOCBBcHIgMjAxNCAxMzo0NTo1MyBHTVQ=
|
|
1533
1533
|
!binary "RXhwaXJlcw==":
|
|
1534
1534
|
- !binary |-
|
|
1535
1535
|
VGh1LCAxOSBOb3YgMTk4MSAwODo1MjowMCBHTVQ=
|
|
@@ -1541,7 +1541,7 @@ http_interactions:
|
|
|
1541
1541
|
QXBhY2hlLzIuMi4yNSAoQW1hem9uKQ==
|
|
1542
1542
|
!binary "U2V0LUNvb2tpZQ==":
|
|
1543
1543
|
- !binary |-
|
|
1544
|
-
|
|
1544
|
+
UEhQU0VTU0lEPWRxbGgzcWhzMDlrNnNjY3RhNTZobzU1Y2x1b3BnanZ1OyBw
|
|
1545
1545
|
YXRoPS8=
|
|
1546
1546
|
!binary "WC1Qb3dlcmVkLUJ5":
|
|
1547
1547
|
- !binary |-
|
|
@@ -1551,7 +1551,7 @@ http_interactions:
|
|
|
1551
1551
|
TnVTT0FQLzAuOS41ICgxLjEp
|
|
1552
1552
|
!binary "Q29udGVudC1MZW5ndGg=":
|
|
1553
1553
|
- !binary |-
|
|
1554
|
-
|
|
1554
|
+
ODU2
|
|
1555
1555
|
!binary "Q29ubmVjdGlvbg==":
|
|
1556
1556
|
- !binary |-
|
|
1557
1557
|
a2VlcC1hbGl2ZQ==
|
|
@@ -1569,16 +1569,15 @@ http_interactions:
|
|
|
1569
1569
|
OnBlc3F1aXNhck5vdGFzRmlzY2Fpc1NlcnZpY2VSZXNwb25zZSB4bWxuczpu
|
|
1570
1570
|
czE9InVybjp0aW55d3NkbCI+PHJldHVybiB4c2k6dHlwZT0ieHNkOnN0cmlu
|
|
1571
1571
|
ZyI+Jmx0Oz94bWwgdmVyc2lvbj0mcXVvdDsxLjAmcXVvdDsgZW5jb2Rpbmc9
|
|
1572
|
-
JnF1b3Q7VVRGLTgmcXVvdDs/
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
TlY6RW52ZWxvcGU+
|
|
1572
|
+
JnF1b3Q7VVRGLTgmcXVvdDs/Jmd0OwombHQ7cmV0b3JubyZndDsmbHQ7c3Rh
|
|
1573
|
+
dHVzX3Byb2Nlc3NhbWVudG8mZ3Q7MiZsdDsvc3RhdHVzX3Byb2Nlc3NhbWVu
|
|
1574
|
+
dG8mZ3Q7Jmx0O3N0YXR1cyZndDtFcnJvJmx0Oy9zdGF0dXMmZ3Q7Jmx0O2Nv
|
|
1575
|
+
ZGlnb19lcnJvJmd0OzIwJmx0Oy9jb2RpZ29fZXJybyZndDsmbHQ7ZXJyb3Mm
|
|
1576
|
+
Z3Q7Jmx0O2Vycm8mZ3Q7QSBjb25zdWx0YSBuw6NvIHJldG9ybm91IHJlZ2lz
|
|
1577
|
+
dHJvcyZsdDsvZXJybyZndDsmbHQ7L2Vycm9zJmd0OyZsdDsvcmV0b3JubyZn
|
|
1578
|
+
dDsKPC9yZXR1cm4+PC9uczE6cGVzcXVpc2FyTm90YXNGaXNjYWlzU2Vydmlj
|
|
1579
|
+
ZVJlc3BvbnNlPjwvU09BUC1FTlY6Qm9keT48L1NPQVAtRU5WOkVudmVsb3Bl
|
|
1580
|
+
Pg==
|
|
1582
1581
|
http_version:
|
|
1583
|
-
recorded_at: Tue, 08 Apr 2014
|
|
1582
|
+
recorded_at: Tue, 08 Apr 2014 13:45:54 GMT
|
|
1584
1583
|
recorded_with: VCR 2.9.0
|
|
@@ -21,7 +21,7 @@ http_interactions:
|
|
|
21
21
|
Content-Type:
|
|
22
22
|
- text/xml; charset=ISO-8859-1
|
|
23
23
|
Date:
|
|
24
|
-
- Tue, 08 Apr 2014
|
|
24
|
+
- Tue, 08 Apr 2014 13:46:16 GMT
|
|
25
25
|
Expires:
|
|
26
26
|
- Thu, 19 Nov 1981 08:52:00 GMT
|
|
27
27
|
Pragma:
|
|
@@ -29,7 +29,7 @@ http_interactions:
|
|
|
29
29
|
Server:
|
|
30
30
|
- Apache/2.2.25 (Amazon)
|
|
31
31
|
Set-Cookie:
|
|
32
|
-
- PHPSESSID=
|
|
32
|
+
- PHPSESSID=usd5muq9vlpa339koajkeqstb4utn0hk; path=/
|
|
33
33
|
X-Powered-By:
|
|
34
34
|
- PHP/5.3.27
|
|
35
35
|
Transfer-Encoding:
|
|
@@ -1494,7 +1494,7 @@ http_interactions:
|
|
|
1494
1494
|
aW9uPSJodHRwOi8vd3d3LnRpbnkuY29tLmJyL2FwaTIucGhwIi8+CiAgPC9w
|
|
1495
1495
|
b3J0Pgo8L3NlcnZpY2U+CjwvZGVmaW5pdGlvbnM+
|
|
1496
1496
|
http_version:
|
|
1497
|
-
recorded_at: Tue, 08 Apr 2014
|
|
1497
|
+
recorded_at: Tue, 08 Apr 2014 13:46:16 GMT
|
|
1498
1498
|
- request:
|
|
1499
1499
|
method: post
|
|
1500
1500
|
uri: http://www.tiny.com.br/api2.php
|
|
@@ -1502,14 +1502,14 @@ http_interactions:
|
|
|
1502
1502
|
encoding: US-ASCII
|
|
1503
1503
|
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
|
1504
1504
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="urn:tinywsdl"
|
|
1505
|
-
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:pesquisarNotasFiscaisXML><token><APIKEY></token><formato>json</formato></tns:pesquisarNotasFiscaisXML></env:Body></env:Envelope>
|
|
1505
|
+
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:pesquisarNotasFiscaisXML><token><APIKEY></token><foo>"bar"</foo><formato>json</formato></tns:pesquisarNotasFiscaisXML></env:Body></env:Envelope>
|
|
1506
1506
|
headers:
|
|
1507
1507
|
Soapaction:
|
|
1508
1508
|
- ! '"urn:tinywsdl#pesquisarNotasFiscaisXML"'
|
|
1509
1509
|
Content-Type:
|
|
1510
1510
|
- text/xml;charset=UTF-8
|
|
1511
1511
|
Content-Length:
|
|
1512
|
-
- '
|
|
1512
|
+
- '431'
|
|
1513
1513
|
Accept:
|
|
1514
1514
|
- ! '*/*'
|
|
1515
1515
|
User-Agent:
|
|
@@ -1529,7 +1529,7 @@ http_interactions:
|
|
|
1529
1529
|
dGV4dC94bWw7IGNoYXJzZXQ9VVRGLTg=
|
|
1530
1530
|
!binary "RGF0ZQ==":
|
|
1531
1531
|
- !binary |-
|
|
1532
|
-
|
|
1532
|
+
VHVlLCAwOCBBcHIgMjAxNCAxMzo0NjoxNiBHTVQ=
|
|
1533
1533
|
!binary "RXhwaXJlcw==":
|
|
1534
1534
|
- !binary |-
|
|
1535
1535
|
VGh1LCAxOSBOb3YgMTk4MSAwODo1MjowMCBHTVQ=
|
|
@@ -1541,7 +1541,7 @@ http_interactions:
|
|
|
1541
1541
|
QXBhY2hlLzIuMi4yNSAoQW1hem9uKQ==
|
|
1542
1542
|
!binary "U2V0LUNvb2tpZQ==":
|
|
1543
1543
|
- !binary |-
|
|
1544
|
-
|
|
1544
|
+
UEhQU0VTU0lEPWNmbHRwaWNwbGZkZmJvbzRvNmYza2R2YzJjczZ1NHNtOyBw
|
|
1545
1545
|
YXRoPS8=
|
|
1546
1546
|
!binary "WC1Qb3dlcmVkLUJ5":
|
|
1547
1547
|
- !binary |-
|
|
@@ -1580,5 +1580,5 @@ http_interactions:
|
|
|
1580
1580
|
c1hNTFJlc3BvbnNlPjwvU09BUC1FTlY6Qm9keT48L1NPQVAtRU5WOkVudmVs
|
|
1581
1581
|
b3BlPg==
|
|
1582
1582
|
http_version:
|
|
1583
|
-
recorded_at: Tue, 08 Apr 2014
|
|
1583
|
+
recorded_at: Tue, 08 Apr 2014 13:46:17 GMT
|
|
1584
1584
|
recorded_with: VCR 2.9.0
|
|
@@ -21,7 +21,7 @@ http_interactions:
|
|
|
21
21
|
Content-Type:
|
|
22
22
|
- text/xml; charset=ISO-8859-1
|
|
23
23
|
Date:
|
|
24
|
-
- Tue, 08 Apr 2014
|
|
24
|
+
- Tue, 08 Apr 2014 13:45:56 GMT
|
|
25
25
|
Expires:
|
|
26
26
|
- Thu, 19 Nov 1981 08:52:00 GMT
|
|
27
27
|
Pragma:
|
|
@@ -29,7 +29,7 @@ http_interactions:
|
|
|
29
29
|
Server:
|
|
30
30
|
- Apache/2.2.25 (Amazon)
|
|
31
31
|
Set-Cookie:
|
|
32
|
-
- PHPSESSID=
|
|
32
|
+
- PHPSESSID=nbdq8httubhsv7lh9fcgbti8hbv69852; path=/
|
|
33
33
|
X-Powered-By:
|
|
34
34
|
- PHP/5.3.27
|
|
35
35
|
Transfer-Encoding:
|
|
@@ -1494,7 +1494,7 @@ http_interactions:
|
|
|
1494
1494
|
aW9uPSJodHRwOi8vd3d3LnRpbnkuY29tLmJyL2FwaTIucGhwIi8+CiAgPC9w
|
|
1495
1495
|
b3J0Pgo8L3NlcnZpY2U+CjwvZGVmaW5pdGlvbnM+
|
|
1496
1496
|
http_version:
|
|
1497
|
-
recorded_at: Tue, 08 Apr 2014
|
|
1497
|
+
recorded_at: Tue, 08 Apr 2014 13:45:57 GMT
|
|
1498
1498
|
- request:
|
|
1499
1499
|
method: post
|
|
1500
1500
|
uri: http://www.tiny.com.br/api2.php
|
|
@@ -1502,14 +1502,14 @@ http_interactions:
|
|
|
1502
1502
|
encoding: US-ASCII
|
|
1503
1503
|
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
|
1504
1504
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="urn:tinywsdl"
|
|
1505
|
-
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:pesquisarNotasServicoService><token><APIKEY></token><formato>json</formato></tns:pesquisarNotasServicoService></env:Body></env:Envelope>
|
|
1505
|
+
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:pesquisarNotasServicoService><token><APIKEY></token><foo>"bar"</foo><formato>json</formato></tns:pesquisarNotasServicoService></env:Body></env:Envelope>
|
|
1506
1506
|
headers:
|
|
1507
1507
|
Soapaction:
|
|
1508
1508
|
- ! '"urn:tinywsdl#pesquisarNotasServicoService"'
|
|
1509
1509
|
Content-Type:
|
|
1510
1510
|
- text/xml;charset=UTF-8
|
|
1511
1511
|
Content-Length:
|
|
1512
|
-
- '
|
|
1512
|
+
- '439'
|
|
1513
1513
|
Accept:
|
|
1514
1514
|
- ! '*/*'
|
|
1515
1515
|
User-Agent:
|
|
@@ -1529,7 +1529,7 @@ http_interactions:
|
|
|
1529
1529
|
dGV4dC94bWw7IGNoYXJzZXQ9VVRGLTg=
|
|
1530
1530
|
!binary "RGF0ZQ==":
|
|
1531
1531
|
- !binary |-
|
|
1532
|
-
|
|
1532
|
+
VHVlLCAwOCBBcHIgMjAxNCAxMzo0NTo1NiBHTVQ=
|
|
1533
1533
|
!binary "RXhwaXJlcw==":
|
|
1534
1534
|
- !binary |-
|
|
1535
1535
|
VGh1LCAxOSBOb3YgMTk4MSAwODo1MjowMCBHTVQ=
|
|
@@ -1541,7 +1541,7 @@ http_interactions:
|
|
|
1541
1541
|
QXBhY2hlLzIuMi4yNSAoQW1hem9uKQ==
|
|
1542
1542
|
!binary "U2V0LUNvb2tpZQ==":
|
|
1543
1543
|
- !binary |-
|
|
1544
|
-
|
|
1544
|
+
UEhQU0VTU0lEPW5qa2g3Y21oOHBnczgyNjZrOWExYjA1Y3RqZGttNWwxOyBw
|
|
1545
1545
|
YXRoPS8=
|
|
1546
1546
|
!binary "WC1Qb3dlcmVkLUJ5":
|
|
1547
1547
|
- !binary |-
|
|
@@ -1579,5 +1579,5 @@ http_interactions:
|
|
|
1579
1579
|
ZVJlc3BvbnNlPjwvU09BUC1FTlY6Qm9keT48L1NPQVAtRU5WOkVudmVsb3Bl
|
|
1580
1580
|
Pg==
|
|
1581
1581
|
http_version:
|
|
1582
|
-
recorded_at: Tue, 08 Apr 2014
|
|
1582
|
+
recorded_at: Tue, 08 Apr 2014 13:45:57 GMT
|
|
1583
1583
|
recorded_with: VCR 2.9.0
|
|
@@ -21,7 +21,7 @@ http_interactions:
|
|
|
21
21
|
Content-Type:
|
|
22
22
|
- text/xml; charset=ISO-8859-1
|
|
23
23
|
Date:
|
|
24
|
-
- Tue, 08 Apr 2014
|
|
24
|
+
- Tue, 08 Apr 2014 13:45:50 GMT
|
|
25
25
|
Expires:
|
|
26
26
|
- Thu, 19 Nov 1981 08:52:00 GMT
|
|
27
27
|
Pragma:
|
|
@@ -29,7 +29,7 @@ http_interactions:
|
|
|
29
29
|
Server:
|
|
30
30
|
- Apache/2.2.25 (Amazon)
|
|
31
31
|
Set-Cookie:
|
|
32
|
-
- PHPSESSID=
|
|
32
|
+
- PHPSESSID=eo007tan1vadas2bc9vtnmodm1jsgtrh; path=/
|
|
33
33
|
X-Powered-By:
|
|
34
34
|
- PHP/5.3.27
|
|
35
35
|
Transfer-Encoding:
|
|
@@ -1494,7 +1494,7 @@ http_interactions:
|
|
|
1494
1494
|
aW9uPSJodHRwOi8vd3d3LnRpbnkuY29tLmJyL2FwaTIucGhwIi8+CiAgPC9w
|
|
1495
1495
|
b3J0Pgo8L3NlcnZpY2U+CjwvZGVmaW5pdGlvbnM+
|
|
1496
1496
|
http_version:
|
|
1497
|
-
recorded_at: Tue, 08 Apr 2014
|
|
1497
|
+
recorded_at: Tue, 08 Apr 2014 13:45:51 GMT
|
|
1498
1498
|
- request:
|
|
1499
1499
|
method: post
|
|
1500
1500
|
uri: http://www.tiny.com.br/api2.php
|
|
@@ -1502,14 +1502,14 @@ http_interactions:
|
|
|
1502
1502
|
encoding: US-ASCII
|
|
1503
1503
|
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
|
1504
1504
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="urn:tinywsdl"
|
|
1505
|
-
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:pesquisarNotasServicoXML><token><APIKEY></token><formato>json</formato></tns:pesquisarNotasServicoXML></env:Body></env:Envelope>
|
|
1505
|
+
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:pesquisarNotasServicoXML><token><APIKEY></token><foo>"bar"</foo><formato>json</formato></tns:pesquisarNotasServicoXML></env:Body></env:Envelope>
|
|
1506
1506
|
headers:
|
|
1507
1507
|
Soapaction:
|
|
1508
1508
|
- ! '"urn:tinywsdl#pesquisarNotasFiscaisXML"'
|
|
1509
1509
|
Content-Type:
|
|
1510
1510
|
- text/xml;charset=UTF-8
|
|
1511
1511
|
Content-Length:
|
|
1512
|
-
- '
|
|
1512
|
+
- '431'
|
|
1513
1513
|
Accept:
|
|
1514
1514
|
- ! '*/*'
|
|
1515
1515
|
User-Agent:
|
|
@@ -1529,7 +1529,7 @@ http_interactions:
|
|
|
1529
1529
|
dGV4dC94bWw7IGNoYXJzZXQ9VVRGLTg=
|
|
1530
1530
|
!binary "RGF0ZQ==":
|
|
1531
1531
|
- !binary |-
|
|
1532
|
-
|
|
1532
|
+
VHVlLCAwOCBBcHIgMjAxNCAxMzo0NTo1MSBHTVQ=
|
|
1533
1533
|
!binary "RXhwaXJlcw==":
|
|
1534
1534
|
- !binary |-
|
|
1535
1535
|
VGh1LCAxOSBOb3YgMTk4MSAwODo1MjowMCBHTVQ=
|
|
@@ -1541,7 +1541,7 @@ http_interactions:
|
|
|
1541
1541
|
QXBhY2hlLzIuMi4yNSAoQW1hem9uKQ==
|
|
1542
1542
|
!binary "U2V0LUNvb2tpZQ==":
|
|
1543
1543
|
- !binary |-
|
|
1544
|
-
|
|
1544
|
+
UEhQU0VTU0lEPW9sb3N1cG81cWxiOXVhZnFnZ29lNDFoM2JkbTJiaWZpOyBw
|
|
1545
1545
|
YXRoPS8=
|
|
1546
1546
|
!binary "WC1Qb3dlcmVkLUJ5":
|
|
1547
1547
|
- !binary |-
|
|
@@ -1578,5 +1578,5 @@ http_interactions:
|
|
|
1578
1578
|
L3JldHVybj48L25zMTpwZXNxdWlzYXJOb3Rhc1NlcnZpY29YTUxSZXNwb25z
|
|
1579
1579
|
ZT48L1NPQVAtRU5WOkJvZHk+PC9TT0FQLUVOVjpFbnZlbG9wZT4=
|
|
1580
1580
|
http_version:
|
|
1581
|
-
recorded_at: Tue, 08 Apr 2014
|
|
1581
|
+
recorded_at: Tue, 08 Apr 2014 13:45:51 GMT
|
|
1582
1582
|
recorded_with: VCR 2.9.0
|
data/spec/support/vcr/TinyerpRuby_Service/accepts/_pesquisar_pedidos_service_as_a_valid_service.yml
CHANGED
|
@@ -21,7 +21,7 @@ http_interactions:
|
|
|
21
21
|
Content-Type:
|
|
22
22
|
- text/xml; charset=ISO-8859-1
|
|
23
23
|
Date:
|
|
24
|
-
- Tue, 08 Apr 2014
|
|
24
|
+
- Tue, 08 Apr 2014 13:45:59 GMT
|
|
25
25
|
Expires:
|
|
26
26
|
- Thu, 19 Nov 1981 08:52:00 GMT
|
|
27
27
|
Pragma:
|
|
@@ -29,7 +29,7 @@ http_interactions:
|
|
|
29
29
|
Server:
|
|
30
30
|
- Apache/2.2.25 (Amazon)
|
|
31
31
|
Set-Cookie:
|
|
32
|
-
- PHPSESSID=
|
|
32
|
+
- PHPSESSID=9o3laqdsbbl08kg8j2aram50njsanbgi; path=/
|
|
33
33
|
X-Powered-By:
|
|
34
34
|
- PHP/5.3.27
|
|
35
35
|
Transfer-Encoding:
|
|
@@ -1494,7 +1494,7 @@ http_interactions:
|
|
|
1494
1494
|
aW9uPSJodHRwOi8vd3d3LnRpbnkuY29tLmJyL2FwaTIucGhwIi8+CiAgPC9w
|
|
1495
1495
|
b3J0Pgo8L3NlcnZpY2U+CjwvZGVmaW5pdGlvbnM+
|
|
1496
1496
|
http_version:
|
|
1497
|
-
recorded_at: Tue, 08 Apr 2014
|
|
1497
|
+
recorded_at: Tue, 08 Apr 2014 13:45:59 GMT
|
|
1498
1498
|
- request:
|
|
1499
1499
|
method: post
|
|
1500
1500
|
uri: http://www.tiny.com.br/api2.php
|
|
@@ -1502,14 +1502,14 @@ http_interactions:
|
|
|
1502
1502
|
encoding: US-ASCII
|
|
1503
1503
|
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
|
1504
1504
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="urn:tinywsdl"
|
|
1505
|
-
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:pesquisarPedidosService><token><APIKEY></token><formato>json</formato></tns:pesquisarPedidosService></env:Body></env:Envelope>
|
|
1505
|
+
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:pesquisarPedidosService><token><APIKEY></token><foo>"bar"</foo><formato>json</formato></tns:pesquisarPedidosService></env:Body></env:Envelope>
|
|
1506
1506
|
headers:
|
|
1507
1507
|
Soapaction:
|
|
1508
1508
|
- ! '"urn:tinywsdl#pesquisarPedidosService"'
|
|
1509
1509
|
Content-Type:
|
|
1510
1510
|
- text/xml;charset=UTF-8
|
|
1511
1511
|
Content-Length:
|
|
1512
|
-
- '
|
|
1512
|
+
- '429'
|
|
1513
1513
|
Accept:
|
|
1514
1514
|
- ! '*/*'
|
|
1515
1515
|
User-Agent:
|
|
@@ -1529,7 +1529,7 @@ http_interactions:
|
|
|
1529
1529
|
dGV4dC94bWw7IGNoYXJzZXQ9VVRGLTg=
|
|
1530
1530
|
!binary "RGF0ZQ==":
|
|
1531
1531
|
- !binary |-
|
|
1532
|
-
|
|
1532
|
+
VHVlLCAwOCBBcHIgMjAxNCAxMzo0NTo1OSBHTVQ=
|
|
1533
1533
|
!binary "RXhwaXJlcw==":
|
|
1534
1534
|
- !binary |-
|
|
1535
1535
|
VGh1LCAxOSBOb3YgMTk4MSAwODo1MjowMCBHTVQ=
|
|
@@ -1541,7 +1541,7 @@ http_interactions:
|
|
|
1541
1541
|
QXBhY2hlLzIuMi4yNSAoQW1hem9uKQ==
|
|
1542
1542
|
!binary "U2V0LUNvb2tpZQ==":
|
|
1543
1543
|
- !binary |-
|
|
1544
|
-
|
|
1544
|
+
UEhQU0VTU0lEPW50aTU0NHU5OHV1OTNmZzJzM2o5cjlrY2Via3NtYWI3OyBw
|
|
1545
1545
|
YXRoPS8=
|
|
1546
1546
|
!binary "WC1Qb3dlcmVkLUJ5":
|
|
1547
1547
|
- !binary |-
|
|
@@ -1551,7 +1551,7 @@ http_interactions:
|
|
|
1551
1551
|
TnVTT0FQLzAuOS41ICgxLjEp
|
|
1552
1552
|
!binary "Q29udGVudC1MZW5ndGg=":
|
|
1553
1553
|
- !binary |-
|
|
1554
|
-
|
|
1554
|
+
OTAy
|
|
1555
1555
|
!binary "Q29ubmVjdGlvbg==":
|
|
1556
1556
|
- !binary |-
|
|
1557
1557
|
a2VlcC1hbGl2ZQ==
|
|
@@ -1569,14 +1569,16 @@ http_interactions:
|
|
|
1569
1569
|
OnBlc3F1aXNhclBlZGlkb3NTZXJ2aWNlUmVzcG9uc2UgeG1sbnM6bnMxPSJ1
|
|
1570
1570
|
cm46dGlueXdzZGwiPjxyZXR1cm4geHNpOnR5cGU9InhzZDpzdHJpbmciPiZs
|
|
1571
1571
|
dDs/eG1sIHZlcnNpb249JnF1b3Q7MS4wJnF1b3Q7IGVuY29kaW5nPSZxdW90
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1572
|
+
O1VURi04JnF1b3Q7PyZndDsmbHQ7cmV0b3JubyZndDsmbHQ7c3RhdHVzX3By
|
|
1573
|
+
b2Nlc3NhbWVudG8mZ3Q7MSZsdDsvc3RhdHVzX3Byb2Nlc3NhbWVudG8mZ3Q7
|
|
1574
|
+
Jmx0O3N0YXR1cyZndDtFcnJvJmx0Oy9zdGF0dXMmZ3Q7Jmx0O2NvZGlnb19l
|
|
1575
|
+
cnJvJmd0OzYmbHQ7L2NvZGlnb19lcnJvJmd0OyZsdDtlcnJvcyZndDsmbHQ7
|
|
1576
|
+
ZXJybyZndDtBUEkgQmxvcXVlYWRhIC0gRXhjZWRpZG8gbyBuw7ptZXJvIGRl
|
|
1577
|
+
IGFjZXNzb3MgYSBBUEksIGFndWFyZGUgYWxndW5zIG1pbnV0b3MgZSB0ZW50
|
|
1578
|
+
ZSBub3ZhbWVudGUmbHQ7L2Vycm8mZ3Q7Jmx0Oy9lcnJvcyZndDsmbHQ7L3Jl
|
|
1579
|
+
dG9ybm8mZ3Q7PC9yZXR1cm4+PC9uczE6cGVzcXVpc2FyUGVkaWRvc1NlcnZp
|
|
1580
|
+
Y2VSZXNwb25zZT48L1NPQVAtRU5WOkJvZHk+PC9TT0FQLUVOVjpFbnZlbG9w
|
|
1581
|
+
ZT4=
|
|
1580
1582
|
http_version:
|
|
1581
|
-
recorded_at: Tue, 08 Apr 2014
|
|
1583
|
+
recorded_at: Tue, 08 Apr 2014 13:45:59 GMT
|
|
1582
1584
|
recorded_with: VCR 2.9.0
|
data/spec/support/vcr/TinyerpRuby_Service/accepts/_pesquisar_pedidos_xml_as_a_valid_service.yml
CHANGED
|
@@ -21,7 +21,7 @@ http_interactions:
|
|
|
21
21
|
Content-Type:
|
|
22
22
|
- text/xml; charset=ISO-8859-1
|
|
23
23
|
Date:
|
|
24
|
-
- Tue, 08 Apr 2014
|
|
24
|
+
- Tue, 08 Apr 2014 13:45:57 GMT
|
|
25
25
|
Expires:
|
|
26
26
|
- Thu, 19 Nov 1981 08:52:00 GMT
|
|
27
27
|
Pragma:
|
|
@@ -29,7 +29,7 @@ http_interactions:
|
|
|
29
29
|
Server:
|
|
30
30
|
- Apache/2.2.25 (Amazon)
|
|
31
31
|
Set-Cookie:
|
|
32
|
-
- PHPSESSID=
|
|
32
|
+
- PHPSESSID=7ohrqje9om1vfbjopts5hbo8fo86070g; path=/
|
|
33
33
|
X-Powered-By:
|
|
34
34
|
- PHP/5.3.27
|
|
35
35
|
Transfer-Encoding:
|
|
@@ -1494,7 +1494,7 @@ http_interactions:
|
|
|
1494
1494
|
aW9uPSJodHRwOi8vd3d3LnRpbnkuY29tLmJyL2FwaTIucGhwIi8+CiAgPC9w
|
|
1495
1495
|
b3J0Pgo8L3NlcnZpY2U+CjwvZGVmaW5pdGlvbnM+
|
|
1496
1496
|
http_version:
|
|
1497
|
-
recorded_at: Tue, 08 Apr 2014
|
|
1497
|
+
recorded_at: Tue, 08 Apr 2014 13:45:57 GMT
|
|
1498
1498
|
- request:
|
|
1499
1499
|
method: post
|
|
1500
1500
|
uri: http://www.tiny.com.br/api2.php
|
|
@@ -1502,14 +1502,14 @@ http_interactions:
|
|
|
1502
1502
|
encoding: US-ASCII
|
|
1503
1503
|
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
|
1504
1504
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="urn:tinywsdl"
|
|
1505
|
-
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:pesquisarPedidosXML><token><APIKEY></token><formato>json</formato></tns:pesquisarPedidosXML></env:Body></env:Envelope>
|
|
1505
|
+
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:pesquisarPedidosXML><token><APIKEY></token><foo>"bar"</foo><formato>json</formato></tns:pesquisarPedidosXML></env:Body></env:Envelope>
|
|
1506
1506
|
headers:
|
|
1507
1507
|
Soapaction:
|
|
1508
1508
|
- ! '"urn:tinywsdl#pesquisarPedidosXML"'
|
|
1509
1509
|
Content-Type:
|
|
1510
1510
|
- text/xml;charset=UTF-8
|
|
1511
1511
|
Content-Length:
|
|
1512
|
-
- '
|
|
1512
|
+
- '421'
|
|
1513
1513
|
Accept:
|
|
1514
1514
|
- ! '*/*'
|
|
1515
1515
|
User-Agent:
|
|
@@ -1529,7 +1529,7 @@ http_interactions:
|
|
|
1529
1529
|
dGV4dC94bWw7IGNoYXJzZXQ9VVRGLTg=
|
|
1530
1530
|
!binary "RGF0ZQ==":
|
|
1531
1531
|
- !binary |-
|
|
1532
|
-
|
|
1532
|
+
VHVlLCAwOCBBcHIgMjAxNCAxMzo0NTo1NyBHTVQ=
|
|
1533
1533
|
!binary "RXhwaXJlcw==":
|
|
1534
1534
|
- !binary |-
|
|
1535
1535
|
VGh1LCAxOSBOb3YgMTk4MSAwODo1MjowMCBHTVQ=
|
|
@@ -1541,7 +1541,7 @@ http_interactions:
|
|
|
1541
1541
|
QXBhY2hlLzIuMi4yNSAoQW1hem9uKQ==
|
|
1542
1542
|
!binary "U2V0LUNvb2tpZQ==":
|
|
1543
1543
|
- !binary |-
|
|
1544
|
-
|
|
1544
|
+
UEhQU0VTU0lEPWhpcmhkMGptZ2w0bGFlMWIzMWs3NzhzZm9ua21hZG9vOyBw
|
|
1545
1545
|
YXRoPS8=
|
|
1546
1546
|
!binary "WC1Qb3dlcmVkLUJ5":
|
|
1547
1547
|
- !binary |-
|
|
@@ -1578,5 +1578,5 @@ http_interactions:
|
|
|
1578
1578
|
cm4+PC9uczE6cGVzcXVpc2FyUGVkaWRvc1hNTFJlc3BvbnNlPjwvU09BUC1F
|
|
1579
1579
|
TlY6Qm9keT48L1NPQVAtRU5WOkVudmVsb3BlPg==
|
|
1580
1580
|
http_version:
|
|
1581
|
-
recorded_at: Tue, 08 Apr 2014
|
|
1581
|
+
recorded_at: Tue, 08 Apr 2014 13:45:57 GMT
|
|
1582
1582
|
recorded_with: VCR 2.9.0
|