Sha256: de419756756fcc87332d4a5ed7eb6efa1cfd67561268d90b4a3f42f8842bc704

Contents?: true

Size: 374 Bytes

Versions: 3

Compression:

Stored size: 374 Bytes

Contents

# frozen_string_literal: true

require "active_record"
require 'active_support/inflector'

$LOAD_PATH.unshift(File.dirname(__FILE__))

module ActsAsContactable
  if defined?(ActiveRecord::Base)
    require 'acts_as_contactable/extenders/contactable'
    require 'acts_as_contactable/address'
    ActiveRecord::Base.extend ActsAsContactable::Extenders::Contactable
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
acts-as-contactable-0.2.2 lib/acts_as_contactable.rb
acts-as-contactable-0.2.1 lib/acts_as_contactable.rb
acts-as-contactable-0.2.0 lib/acts_as_contactable.rb