Sha256: 6d402ca0b5d62d67fec518a6f1c6ecb4d1225547570b1ee324202c9571f7fee3
Contents?: true
Size: 537 Bytes
Versions: 31
Compression:
Stored size: 537 Bytes
Contents
class ForestLiana::Model::Collection include ActiveModel::Validations include ActiveModel::Conversion include ActiveModel::Serialization extend ActiveModel::Naming attr_accessor :name, :fields, :actions, :only_for_relationships, :is_virtual, :is_read_only, :is_searchable def initialize(attributes = {}) @actions = [] @is_searchable = true @is_read_only = false attributes.each do |name, value| send("#{name}=", value) end end def persisted? false end def id name end end
Version data entries
31 entries across 31 versions & 1 rubygems