Sha256: 1f39a08700e79d9e28e7a590b5338b97e208a7d95cd886d82f3f85d1cd88ed61

Contents?: true

Size: 481 Bytes

Versions: 3

Compression:

Stored size: 481 Bytes

Contents

module ActsAsMessageable
  autoload :Model,    'acts-as-messageable/model'
  autoload :Scopes,   'acts-as-messageable/scopes'
  autoload :Message,  'acts-as-messageable/message'
  autoload :Relation, 'acts-as-messageable/relation'
  autoload :Rails3,   'acts-as-messageable/rails3'
  autoload :Rails4,   'acts-as-messageable/rails4'

  def self.rails_api
    if Rails::VERSION::MAJOR >= 4
      Rails4
    else
      Rails3
    end
  end
end

require 'acts-as-messageable/railtie'

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
acts-as-messageable-0.4.11 lib/acts-as-messageable.rb
acts-as-messageable-0.4.10 lib/acts-as-messageable.rb
acts-as-messageable-0.4.9 lib/acts-as-messageable.rb