Class: LinkedRails::Collection::Filter

Inherits:
RDF::Node
  • Object
show all
Includes:
ActiveModel::Model, Model
Defined in:
app/models/linked_rails/collection/filter.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Model

#build_child, #singular_resource?

Methods included from Model::Serialization

#preview_includes, #show_includes

Methods included from Model::Iri

#anonymous_iri, #anonymous_iri?, #iri_opts, #rdf_type, #reload, #root_relative_iri, #route_fragment

Methods included from Model::Enhancements

#enhanced_with?

Methods included from Model::Dirty

#previous_changes_by_predicate, #previously_changed_relations

Methods included from Model::Collections

#collection_for, #parent_collections

Instance Attribute Details

#collectionObject

Returns the value of attribute collection.



9
10
11
# File 'app/models/linked_rails/collection/filter.rb', line 9

def collection
  @collection
end

#default_filterObject

Returns the value of attribute default_filter.



9
10
11
# File 'app/models/linked_rails/collection/filter.rb', line 9

def default_filter
  @default_filter
end

#keyObject

Returns the value of attribute key.



9
10
11
# File 'app/models/linked_rails/collection/filter.rb', line 9

def key
  @key
end

#valueObject

Returns the value of attribute value.



9
10
11
# File 'app/models/linked_rails/collection/filter.rb', line 9

def value
  @value
end

Instance Method Details

#iri(_opts = {}) ⇒ Object



11
12
13
# File 'app/models/linked_rails/collection/filter.rb', line 11

def iri(_opts = {})
  self
end