Sha256: 41e00a63407f8add1e7ec6aad15fc90a85522810c42d1baec70f8f62c60e53c2

Contents?: true

Size: 270 Bytes

Versions: 1

Compression:

Stored size: 270 Bytes

Contents

module Models::Groups
  class Configuration < ActiveRecord::Base
    self.table_name = :restpack_group_configurations

    attr_accessible :application_id, :data
    validates_presence_of :application_id

    after_initialize -> {
      self.data ||= {}
    }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
restpack_group_service-0.0.8 lib/restpack_group_service/models/configuration.rb