tnt_mercurio 0.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/tnt_mercurio/version.rb +4 -0
- data/lib/tnt_mercurio.rb +36 -0
- metadata +102 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 2f29b9281e7d42939208b940960ca4b2b7e9549b
|
4
|
+
data.tar.gz: 34927ff212ab8a663bae8bbac2339ee107a18abc
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 4a93f9916393d3161d9c42c472d3237e184b73cbb95c69159f3a136ce4d2a2447cfb47c2c8e4bb55902b660df6f6a8ca946c4fd4bb57ec380c2b5c503951a75e
|
7
|
+
data.tar.gz: 2e3a6bd29f37d7dba8278ed09d9bbb95d4a312ff39e1c3172e12244f5e2847dadf3277737a2489a027adee9944e37f6851392eafb1ac46a9242634fa57a04939
|
data/lib/tnt_mercurio.rb
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
# -*- encoding : utf-8 -*-
|
2
|
+
require 'rubygems'
|
3
|
+
require 'savon'
|
4
|
+
require "tnt_mercurio/version"
|
5
|
+
|
6
|
+
module TntMercurio
|
7
|
+
|
8
|
+
# autoload :Conector, 'tnt_mercurio/conector'
|
9
|
+
# autoload :Configuracao, 'tnt_mercurio/configuracao'
|
10
|
+
# autoload :Helper, 'tnt_mercurio/helper'
|
11
|
+
# autoload :Transacao, 'tnt_mercurio/transacao'
|
12
|
+
|
13
|
+
#
|
14
|
+
# Configura a conexão com o gateway.
|
15
|
+
# Utlização:
|
16
|
+
#
|
17
|
+
# TntMercurio.config do |config|
|
18
|
+
# config.ambiente = :teste
|
19
|
+
# config.estabelecimento = 1111111
|
20
|
+
# config.usuario = 'ERNET'
|
21
|
+
# config.senha = 'ERNET'
|
22
|
+
# end
|
23
|
+
# def self.config
|
24
|
+
# yield(Configuracao.instance) if block_given?
|
25
|
+
# return Configuracao.instance
|
26
|
+
# end
|
27
|
+
|
28
|
+
# def self.conector
|
29
|
+
# Conector.instance
|
30
|
+
# end
|
31
|
+
|
32
|
+
def self.hi
|
33
|
+
puts "Hello world!"
|
34
|
+
end
|
35
|
+
|
36
|
+
end
|
metadata
ADDED
@@ -0,0 +1,102 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: tnt_mercurio
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- QW3 Software & Marketing
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-11-10 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: brdinheiro
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3.3'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '3.3'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: brdata
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '3.3'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '3.3'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: savon
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '2.10'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '2.10'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rake
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '10.4'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '10.4'
|
69
|
+
description: Gem para utilização do Webservices disponibilizado pela empresa TNT Mercúrio.
|
70
|
+
email:
|
71
|
+
- contato@qw3.com.br
|
72
|
+
executables: []
|
73
|
+
extensions: []
|
74
|
+
extra_rdoc_files: []
|
75
|
+
files:
|
76
|
+
- lib/tnt_mercurio.rb
|
77
|
+
- lib/tnt_mercurio/version.rb
|
78
|
+
homepage: https://github.com/qw3/tnt_mercurio
|
79
|
+
licenses:
|
80
|
+
- MIT
|
81
|
+
metadata: {}
|
82
|
+
post_install_message:
|
83
|
+
rdoc_options: []
|
84
|
+
require_paths:
|
85
|
+
- lib
|
86
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
87
|
+
requirements:
|
88
|
+
- - ">="
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: '1.9'
|
91
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - ">="
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '0'
|
96
|
+
requirements: []
|
97
|
+
rubyforge_project:
|
98
|
+
rubygems_version: 2.4.1
|
99
|
+
signing_key:
|
100
|
+
specification_version: 4
|
101
|
+
summary: Calcula Frete pelo TNT Mercúrio
|
102
|
+
test_files: []
|