Sha256: e77bd5b071fbe2dca1dfb0015d7050a501e2b7c8f51e4c0451b7a0476547f98c
Contents?: true
Size: 625 Bytes
Versions: 26
Compression:
Stored size: 625 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 def initialize(attributes = {}) @actions = [] @segments = [] @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
26 entries across 26 versions & 1 rubygems