Sha256: a47a232fd2dd9533f8d7bdd986907027698cac3a100372539aa48e6739cde6c5

Contents?: true

Size: 497 Bytes

Versions: 4

Compression:

Stored size: 497 Bytes

Contents

# frozen_string_literal: true

require 'solidus_nexio/version'
require 'nexio_activemerchant'
require 'solidus_nexio/engine'

module SolidusNexio
  class Error < StandardError; end

  def self.table_name_prefix
    'solidus_nexio_solidus_nexio_'
  end

  @config = OpenStruct.new(merchant_secrets: [], save_webhooks: false, webhooks: [], payment_confirmation_timeout: 3)

  def self.config
    yield @config if block_given?
    @config
  end

  def self.gem_dir
    File.dirname __dir__
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
solidus_nexio-1.0.1 lib/solidus_nexio.rb
solidus_nexio-1.0.0 lib/solidus_nexio.rb
solidus_nexio-0.7.12 lib/solidus_nexio.rb
solidus_nexio-0.7.11 lib/solidus_nexio.rb