Sha256: 9238e9d161d51383ec74bec4213a2e2a2d9c50ac2d4d7fe16cb3c32d940dd34e

Contents?: true

Size: 284 Bytes

Versions: 14

Compression:

Stored size: 284 Bytes

Contents

require 'comable/payment_provider/base'
require 'comable/payment_provider/general'

module Comable
  module PaymentProvider
    class << self
      def all
        (constants - [:Base]).map do |constant_name|
          const_get(constant_name)
        end
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
comable-core-0.7.1 lib/comable/payment_provider.rb
comable-core-0.7.0 lib/comable/payment_provider.rb
comable-core-0.7.0.beta2 lib/comable/payment_provider.rb
comable-core-0.7.0.beta1 lib/comable/payment_provider.rb
comable-core-0.6.0 lib/comable/payment_provider.rb
comable_core-0.5.0 lib/comable/payment_provider.rb
comable_core-0.4.2 lib/comable/payment_provider.rb
comable_core-0.4.1 lib/comable/payment_provider.rb
comable_core-0.4.0 lib/comable/payment_provider.rb
comable_core-0.3.4 lib/comable/payment_provider.rb
comable_core-0.3.3 lib/comable/payment_provider.rb
comable_core-0.3.2 lib/comable/payment_provider.rb
comable_core-0.3.1 lib/comable/payment_provider.rb
comable_core-0.3.0 lib/comable/payment_provider.rb