Sha256: 23e495b4e17320a440da42f2643600b849f603d798e7189bd3b027da7415abb5

Contents?: true

Size: 247 Bytes

Versions: 4

Compression:

Stored size: 247 Bytes

Contents

module RestPack::Activity::Service::Models
  class Base < ActiveRecord::Base
    self.abstract_class = true

    def self.restpack_table_name(name)
      self.table_name = RestPack::Activity::Service.config.prefix_db_table(name)
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
restpack_activity_service-0.0.9 lib/restpack_activity_service/models/base.rb
restpack_activity_service-0.0.8 lib/restpack_activity_service/models/base.rb
restpack_activity_service-0.0.7 lib/restpack_activity_service/models/base.rb
restpack_activity_service-0.0.5 lib/restpack_activity_service/models/base.rb