Abraham Rodriguez

Readme

Showing 1 changed file with 1 additions and 12 deletions
...@@ -26,7 +26,7 @@ You need to install the configuration for paypal if you intend to use it in your ...@@ -26,7 +26,7 @@ You need to install the configuration for paypal if you intend to use it in your
26 26
27 It will create a configuration file(`config/paypal.yml`) 27 It will create a configuration file(`config/paypal.yml`)
28 28
29 -You also need to configure conekta if you intend to use it in your application: 29 +You also need to configure conekta if you intend to use it in your application,
30 Create a configuration file(`config/initializers/conekta.rb`) 30 Create a configuration file(`config/initializers/conekta.rb`)
31 31
32 ```ruby 32 ```ruby
...@@ -40,17 +40,6 @@ Conekta.config do |c| ...@@ -40,17 +40,6 @@ Conekta.config do |c|
40 c.api_key = '1tv5yJp3xnVZ7eK67m4h' 40 c.api_key = '1tv5yJp3xnVZ7eK67m4h'
41 c.api_version = '1.0.0' 41 c.api_version = '1.0.0'
42 end 42 end
43 -
44 -Conekta.locale = :es
45 -
46 -Conekta.api_key = '1tv5yJp3xnVZ7eK67m4h'
47 -
48 -# Or via an initializer in config/initializers/conekta.rb
49 -Conekta.config do |c|
50 - c.locale = :es
51 - c.api_key = '1tv5yJp3xnVZ7eK67m4h'
52 - c.api_version = '1.0.0'
53 -end
54 ``` 43 ```
55 44
56 ## Usage 45 ## Usage
......