cobro_digital 1.3.1 → 1.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
- ---
2
- SHA1:
3
- data.tar.gz: e60fff05cd6694fbb1ed9b378168349f33a8788d
4
- metadata.gz: 39c3fe0849a4a2729feeef0e2bd9b55c3783af4d
5
- SHA512:
6
- data.tar.gz: 7f850ef2cda80e4ebc9997d8c5a373c2fc4975084f1a1e6585b27d2b6c2a089f8ff2a1fe41968a3dd1635f7e00ce141eb6924bb07700a4cdbf80754afff5b213
7
- metadata.gz: 27b45f52c4b91cef8ca8dc0f088db2c6590f5c526a7f6b29647c4d81132ab45e1cbe30135a2f7921676ccec1cd2e86a60d1194427b5312e1f8e9bdc86b30db21
1
+ ---
2
+ SHA256:
3
+ metadata.gz: fb2ab648eaab4bbb8d09d2f9e46af668ef853f110cf44f60ce0f7bd394f6f710
4
+ data.tar.gz: 8f837e57f9b81d1321c12c4273886ea9a1ca46287c071ddde9e489d0e57cfd19
5
+ SHA512:
6
+ metadata.gz: 7303bc44c0fcb6f13d8f3ad753f77471069b3d787404b6066a8cb1491134b90ef794436b14e8af8959a8bf8f6cb868530b35358204b8987759980d4268540541
7
+ data.tar.gz: '05977f4535b8ba420a7e38ea81327ed08b9b9f39f0f808a232cdf71b7937e162659790d82d740b52d2426169adde31fdce892c555652bc836591d435d516e2a2'
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
11
11
 
12
12
  spec.summary = "Adaptador CobroDigital"
13
13
  spec.description = "Adaptador para el Web Service de CobroDigital"
14
- spec.homepage = "https://github.com/gedera/cobro_digital"
14
+ spec.homepage = "https://github.com/gedera/cobrodigital"
15
15
  spec.license = "MIT"
16
16
 
17
17
  # Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
@@ -1,10 +1,11 @@
1
1
  module CobroDigital
2
2
  class Pagador < CobroDigital::Operador
3
3
 
4
- CREAR_PAGADOR_WS = 'crear_pagador'
5
- EDITAR_PAGADOR_WS = 'editar_pagador'
6
- VERIFICAR_PAGADOR_WS = 'verificar_existencia_pagador'
7
- OBTENER_CODIGO_ELECTRONICO_WS = 'obtener_codigo_electronico'
4
+ CREAR_PAGADOR_WS = 'crear_pagador'
5
+ EDITAR_PAGADOR_WS = 'editar_pagador'
6
+ VERIFICAR_PAGADOR_WS = 'verificar_existencia_pagador'
7
+ OBTENER_CODIGO_ELECTRONICO_WS = 'obtener_codigo_electronico'
8
+ CONSULTAR_ESTRUCTURA_PAGADORES_WS = 'consultar_estructura_pagadores'
8
9
 
9
10
  # { 'Nombre' => 'Juan', 'Su_identificador' => '1AF8', 'Unidad' => '201' }
10
11
  def self.crear(pagador)
@@ -36,5 +37,11 @@ module CobroDigital
36
37
  :render => { :identificador => identificador,
37
38
  :buscar => buscar })
38
39
  end
40
+
41
+ def self.estructura_de_datos
42
+ CobroDigital::Pagador.new(:http_method => CobroDigital::Https::GET,
43
+ :webservice => CONSULTAR_ESTRUCTURA_PAGADORES_WS,
44
+ :render => {})
45
+ end
39
46
  end
40
47
  end
@@ -1,3 +1,3 @@
1
1
  module CobroDigital
2
- VERSION = "1.3.1"
2
+ VERSION = "1.4.1"
3
3
  end
metadata CHANGED
@@ -1,99 +1,123 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: cobro_digital
3
- version: !ruby/object:Gem::Version
4
- version: 1.3.1
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.4.1
5
5
  platform: ruby
6
- authors:
6
+ authors:
7
7
  - g.edera
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
-
12
- date: 2018-03-13 00:00:00 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
11
+ date: 2018-06-28 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
15
14
  name: bundler
16
- prerelease: false
17
- requirement: &id001 !ruby/object:Gem::Requirement
18
- requirements:
19
- - - ~>
20
- - !ruby/object:Gem::Version
21
- version: "1.13"
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.13'
22
20
  type: :development
23
- version_requirements: *id001
24
- - !ruby/object:Gem::Dependency
25
- name: rake
26
21
  prerelease: false
27
- requirement: &id002 !ruby/object:Gem::Requirement
28
- requirements:
29
- - - ~>
30
- - !ruby/object:Gem::Version
31
- version: "10.0"
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.13'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
32
34
  type: :development
33
- version_requirements: *id002
34
- - !ruby/object:Gem::Dependency
35
- name: savon
36
35
  prerelease: false
37
- requirement: &id003 !ruby/object:Gem::Requirement
38
- requirements:
39
- - - ~>
40
- - !ruby/object:Gem::Version
41
- version: "2.4"
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
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.4'
42
48
  type: :runtime
43
- version_requirements: *id003
44
- - !ruby/object:Gem::Dependency
45
- name: nokogiri
46
49
  prerelease: false
47
- requirement: &id004 !ruby/object:Gem::Requirement
48
- requirements:
49
- - - ~>
50
- - !ruby/object:Gem::Version
51
- version: "1.6"
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '2.4'
55
+ - !ruby/object:Gem::Dependency
56
+ name: nokogiri
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '1.6'
52
62
  type: :runtime
53
- version_requirements: *id004
54
- - !ruby/object:Gem::Dependency
55
- name: wasabi
56
63
  prerelease: false
57
- requirement: &id005 !ruby/object:Gem::Requirement
58
- requirements:
59
- - - ~>
60
- - !ruby/object:Gem::Version
61
- version: "3.2"
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '1.6'
69
+ - !ruby/object:Gem::Dependency
70
+ name: wasabi
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '3.2'
62
76
  type: :runtime
63
- version_requirements: *id005
64
- - !ruby/object:Gem::Dependency
65
- name: akami
66
77
  prerelease: false
67
- requirement: &id006 !ruby/object:Gem::Requirement
68
- requirements:
69
- - - ~>
70
- - !ruby/object:Gem::Version
71
- version: "1.1"
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '3.2'
83
+ - !ruby/object:Gem::Dependency
84
+ name: akami
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '1.1'
72
90
  type: :runtime
73
- version_requirements: *id006
74
- - !ruby/object:Gem::Dependency
75
- name: nori
76
91
  prerelease: false
77
- requirement: &id007 !ruby/object:Gem::Requirement
78
- requirements:
79
- - - ~>
80
- - !ruby/object:Gem::Version
81
- version: "2.3"
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '1.1'
97
+ - !ruby/object:Gem::Dependency
98
+ name: nori
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '2.3'
82
104
  type: :runtime
83
- version_requirements: *id007
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '2.3'
84
111
  description: Adaptador para el Web Service de CobroDigital
85
- email:
112
+ email:
86
113
  - gab.edera@gmail.com
87
114
  executables: []
88
-
89
115
  extensions: []
90
-
91
116
  extra_rdoc_files: []
92
-
93
- files:
94
- - .gitignore
95
- - .rspec
96
- - .travis.yml
117
+ files:
118
+ - ".gitignore"
119
+ - ".rspec"
120
+ - ".travis.yml"
97
121
  - CODE_OF_CONDUCT.md
98
122
  - Gemfile
99
123
  - LICENSE.txt
@@ -110,31 +134,28 @@ files:
110
134
  - lib/cobro_digital/pagador.rb
111
135
  - lib/cobro_digital/transaccion.rb
112
136
  - lib/cobro_digital/version.rb
113
- homepage: https://github.com/gedera/cobro_digital
114
- licenses:
137
+ homepage: https://github.com/gedera/cobrodigital
138
+ licenses:
115
139
  - MIT
116
140
  metadata: {}
117
-
118
141
  post_install_message:
119
142
  rdoc_options: []
120
-
121
- require_paths:
143
+ require_paths:
122
144
  - lib
123
- required_ruby_version: !ruby/object:Gem::Requirement
124
- requirements:
125
- - &id008
126
- - ">="
127
- - !ruby/object:Gem::Version
128
- version: "0"
129
- required_rubygems_version: !ruby/object:Gem::Requirement
130
- requirements:
131
- - *id008
145
+ required_ruby_version: !ruby/object:Gem::Requirement
146
+ requirements:
147
+ - - ">="
148
+ - !ruby/object:Gem::Version
149
+ version: '0'
150
+ required_rubygems_version: !ruby/object:Gem::Requirement
151
+ requirements:
152
+ - - ">="
153
+ - !ruby/object:Gem::Version
154
+ version: '0'
132
155
  requirements: []
133
-
134
156
  rubyforge_project:
135
- rubygems_version: 2.6.12
157
+ rubygems_version: 2.7.6
136
158
  signing_key:
137
159
  specification_version: 4
138
160
  summary: Adaptador CobroDigital
139
161
  test_files: []
140
-