akatus-rails 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: d92e47d223c5cf4b20708ac795d4af65637c86c2
4
+ data.tar.gz: 16bfcb55ab4b80177215ddde2a483609de87a065
5
+ SHA512:
6
+ metadata.gz: 4a6bc36dc9f0911b6dd8bee303d34b845faba2ae5e9bbdcc6016bda716829bf8aa62cbb8d4a9f1a42dde50c41f4b488cdf5c41b60c97196e004487a12b3bb088
7
+ data.tar.gz: 4aef0e4123d78ad61f1c9b8c1300a896dee20b84b00975c3afb155d15b16591d96b88b712bd3ca6224caa22c0f7dce06efe991e48d8fd5c5cf1678e5c7b51763
data/README.md ADDED
@@ -0,0 +1,55 @@
1
+ # Akatus
2
+
3
+ TODO: Write a gem description
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ gem 'akatus'
10
+
11
+ And then execute:
12
+
13
+ $ bundle
14
+
15
+ Or install it yourself as:
16
+
17
+ $ gem install akatus
18
+
19
+ ## Usage
20
+
21
+ TODO: Write usage instructions here
22
+
23
+ ## Contributing
24
+
25
+ 1. Fork it
26
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
27
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
28
+ 4. Push to the branch (`git push origin my-new-feature`)
29
+ 5. Create new Pull Request
30
+
31
+ rails g akatus:install
32
+
33
+ Implementados
34
+ =============
35
+ API – Boleto
36
+ API – Cartão de Crédito
37
+ API – TEF
38
+
39
+ API – Meios de Pagamento
40
+ API – Parcelamento
41
+
42
+ TODOs
43
+ =====
44
+ API – Status de Transação
45
+ NIPs
46
+
47
+ Ignorados
48
+ =========
49
+ API – Cadastro de Conta Bancária
50
+ API – Cadastro de Conta Empresarial
51
+ API – Cadastro de Conta Vendedor
52
+ API – Consulta de Conta Bancária
53
+ API – Envio de Documentos
54
+ API – Tipos de Comércio
55
+ API – Estorno
Binary file
Binary file
@@ -0,0 +1,10 @@
1
+ require "akatus"
2
+
3
+ require_relative "akatus/configuration"
4
+
5
+ module Akatus
6
+ module Rails
7
+ class Railtie < ::Rails::Railtie
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,13 @@
1
+ module Akatus
2
+ class Configuration
3
+
4
+ def config_file_path
5
+ "#{::Rails.root}/config/akatus.yml"
6
+ end
7
+
8
+ def environment
9
+ ::Rails.env
10
+ end
11
+
12
+ end
13
+ end
@@ -0,0 +1,5 @@
1
+ module Akatus
2
+ module Rails
3
+ VERSION = "1.0.0"
4
+ end
5
+ end
@@ -0,0 +1,15 @@
1
+ module Akatus
2
+ module Generators
3
+ class InstallGenerator < ::Rails::Generators::Base
4
+
5
+ desc "Copy configuration files to your application."
6
+
7
+ source_root File.expand_path(File.join(File.dirname(__FILE__), 'templates'))
8
+
9
+ def copy_config
10
+ copy_file "akatus.yml", "config/akatus.yml"
11
+ end
12
+
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,22 @@
1
+ #
2
+ # Configuration for the akatus gem.
3
+ # Don't forget to change the template below with your own information!
4
+ #
5
+ # For more details on how to get an API key, see:
6
+ # https://connect.akatus.com/tutoriais/o-que-e-api-key/
7
+ #
8
+
9
+ development:
10
+ sandbox: true
11
+ api_key: INVALID-API-KEY
12
+ email: INVALID-EMAIL
13
+
14
+ test:
15
+ sandbox: true
16
+ api_key: INVALID-API-KEY
17
+ email: INVALID-EMAIL
18
+
19
+ production:
20
+ sandbox: false
21
+ api_key: INVALID-API-KEY
22
+ email: INVALID-EMAIL
metadata ADDED
@@ -0,0 +1,73 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: akatus-rails
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Kauplus
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-01-03 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: akatus
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '='
18
+ - !ruby/object:Gem::Version
19
+ version: 1.0.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '='
25
+ - !ruby/object:Gem::Version
26
+ version: 1.0.0
27
+ description: Rails goodies for integrating Akatus with your application. Built on
28
+ top of the Akatus gem.
29
+ email: tech@kauplus.com.br
30
+ executables: []
31
+ extensions: []
32
+ extra_rdoc_files: []
33
+ files:
34
+ - lib/akatus/configuration.rb
35
+ - lib/akatus/rails/version.rb
36
+ - lib/akatus-rails.rb
37
+ - lib/generators/install/install_generator.rb
38
+ - lib/generators/install/templates/akatus.yml
39
+ - app/assets/images/akatus/boleto.png
40
+ - app/assets/images/akatus/cartao_amex.png
41
+ - app/assets/images/akatus/cartao_diners.png
42
+ - app/assets/images/akatus/cartao_elo.png
43
+ - app/assets/images/akatus/cartao_master.png
44
+ - app/assets/images/akatus/cartao_visa.png
45
+ - app/assets/images/akatus/tef_bb.png
46
+ - app/assets/images/akatus/tef_bradesco.png
47
+ - app/assets/images/akatus/tef_itau.png
48
+ - README.md
49
+ homepage: http://github.com/kauplus/akatus-rails
50
+ licenses:
51
+ - MIT
52
+ metadata: {}
53
+ post_install_message:
54
+ rdoc_options: []
55
+ require_paths:
56
+ - lib
57
+ required_ruby_version: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ required_rubygems_version: !ruby/object:Gem::Requirement
63
+ requirements:
64
+ - - '>='
65
+ - !ruby/object:Gem::Version
66
+ version: '0'
67
+ requirements: []
68
+ rubyforge_project:
69
+ rubygems_version: 2.0.3
70
+ signing_key:
71
+ specification_version: 4
72
+ summary: Akatus for Rails. Requires the Akatus gem.
73
+ test_files: []