kount-ris 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/kount/configuration.rb +4 -4
- data/lib/kount/ris.rb +0 -3
- data/lib/kount/ris/engine.rb +1 -1
- data/lib/kount/ris/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7eb0e704f3e78ec07d63a9a1890a61275c64e8c9
|
4
|
+
data.tar.gz: 92e1c56045de22e08c551a9611f9eafe2b2b4c80
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ac0dfc63f23e013a326f7b0c8b99136ba995c0c04abc7bab6c44d7bbae5575c1f582815fdf30d54aaa9dc3045b95bf00e3566003744482502ef335a3d1611af
|
7
|
+
data.tar.gz: f2afd5d8176813c63fa14aedf2643580b7b94b6c3bf60ec20883c2bb30e45d036581e6f8d8c15d42c1187be0fbad507a427cf43e346b607faa117c24676e9f34
|
@@ -1,10 +1,10 @@
|
|
1
1
|
module Kount
|
2
2
|
class Configuration
|
3
|
-
mattr_accessor :merchant_id, :company_server_url, :api_key, :gateway_id, :site_id, :salt, :api_host
|
4
|
-
mattr_accessor :api_version, :response_format, :payment_type, :currency_code, :shipping_method
|
5
|
-
mattr_accessor :logger, :simple_log_level, :simple_log_file, :simple_log_path
|
6
|
-
|
7
3
|
class << self
|
4
|
+
attr_accessor :merchant_id, :company_server_url, :api_key, :gateway_id, :site_id, :salt, :api_host
|
5
|
+
attr_accessor :api_version, :response_format, :payment_type, :currency_code, :shipping_method
|
6
|
+
attr_accessor :logger, :simple_log_level, :simple_log_file, :simple_log_path
|
7
|
+
|
8
8
|
def set(conf = {})
|
9
9
|
conf.each { |setting, value| self.send("#{setting}=", value) }
|
10
10
|
end
|
data/lib/kount/ris.rb
CHANGED
data/lib/kount/ris/engine.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
module Kount
|
2
2
|
module RIS
|
3
3
|
class Engine < ::Rails::Engine
|
4
|
-
|
4
|
+
isolate_namespace Kount::RIS
|
5
5
|
# config.generators.api_only = true
|
6
6
|
# config.eager_load_paths.concat Dir["#{config.root}/doc/*"].select { |f| File.directory? f }
|
7
7
|
# config.autoload_paths.concat Dir["#{config.root}/app/models/**"]
|
data/lib/kount/ris/version.rb
CHANGED