Module: Kount
- Defined in:
- lib/kount/ris.rb,
app/models/kount.rb,
app/models/kount/ris.rb,
lib/kount/ris/engine.rb,
lib/kount/ris/version.rb,
app/models/kount/khash.rb,
app/models/kount/ris/base.rb,
app/models/kount/ris/device.rb,
app/models/kount/ris/address.rb,
app/models/kount/ris/inquiry.rb,
app/models/kount/ris/persona.rb,
app/models/kount/ris/product.rb,
app/models/kount/ris/location.rb,
app/models/kount/configuration.rb,
app/models/kount/ris/trigger/rule.rb,
app/models/kount/ris/trigger/error.rb,
app/models/kount/ris/trigger/counter.rb,
app/models/kount/ris/trigger/warning.rb
Defined Under Namespace
Modules: RIS Classes: Configuration, KHASH
Class Method Summary collapse
Class Method Details
.configuration ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'app/models/kount.rb', line 7 def configuration { merchant_id: Kount::Configuration.merchant_id, company_server_url: Kount::Configuration.company_server_url, api_key: Kount::Configuration.api_key, gateway_id: Kount::Configuration.gateway_id, site_id: Kount::Configuration.site_id, api_version: Kount::Configuration.api_version || '0630', response_format: Kount::Configuration.response_format, payment_type: Kount::Configuration.payment_type, currency_code: Kount::Configuration.currency_code, shipping_method: Kount::Configuration.shipping_method, logger: Kount::Configuration.logger, simple_log_level: Kount::Configuration.simple_log_level, simple_log_file: Kount::Configuration.simple_log_file, simple_log_path: Kount::Configuration.simple_log_path, salt: Kount::Configuration.salt, api_host: Kount::Configuration.api_host, }.compact end |
.configure(conf = {}) ⇒ Object
3 4 5 |
# File 'app/models/kount.rb', line 3 def configure(conf={}) Configuration.set(conf) end |