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