Class: LinkedRails::Collection::Filter
- Inherits:
-
RDF::Node
- Object
- RDF::Node
- LinkedRails::Collection::Filter
- Includes:
- ActiveModel::Model, Model
- Defined in:
- app/models/linked_rails/collection/filter.rb
Instance Attribute Summary collapse
-
#collection ⇒ Object
Returns the value of attribute collection.
-
#default_filter ⇒ Object
Returns the value of attribute default_filter.
-
#key ⇒ Object
Returns the value of attribute key.
-
#value ⇒ Object
Returns the value of attribute value.
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
Methods included from Model::Dirty
#previous_changes_by_predicate, #previously_changed_relations
Methods included from Model::Collections
#collection_for, #parent_collections
Instance Attribute Details
#collection ⇒ Object
Returns the value of attribute collection.
9 10 11 |
# File 'app/models/linked_rails/collection/filter.rb', line 9 def collection @collection end |
#default_filter ⇒ Object
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 |
#key ⇒ Object
Returns the value of attribute key.
9 10 11 |
# File 'app/models/linked_rails/collection/filter.rb', line 9 def key @key end |
#value ⇒ Object
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 |