Sha256: f71d08e8f1c7b33e183f89b07d58ad2657499d09458ed102aef99d692f6e7d41

Contents?: true

Size: 623 Bytes

Versions: 1

Compression:

Stored size: 623 Bytes

Contents

require 'effective_resources'
require 'effective_datatables'
require 'effective_products/engine'
require 'effective_products/version'

module EffectiveProducts

  def self.config_keys
    [
      :rings_table_name, :ring_payments_table_name, :ring_payment_class_name,
      :stamps_table_name, :stamp_payments_table_name, :stamp_payment_class_name,
      :layout, :use_effective_roles
    ]
  end

  include EffectiveGem

  def self.RingPayment
    ring_payment_class_name&.constantize || Effective::RingPayment
  end

  def self.StampPayment
    stamp_payment_class_name&.constantize || Effective::StampPayment
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
effective_products-0.0.2 lib/effective_products.rb