Class: LinkedRails::Collection::FilterOption
- Inherits:
-
RDF::Node
- Object
- RDF::Node
- LinkedRails::Collection::FilterOption
- Includes:
- ActiveModel::Model, ActiveModel::Serialization, Model
- Defined in:
- app/models/linked_rails/collection/filter_option.rb
Constant Summary
Constants included from Model::Collections
Model::Collections::COLLECTION_CUSTOMIZABLE_OPTIONS, Model::Collections::COLLECTION_OPTIONS, Model::Collections::COLLECTION_STATIC_OPTIONS
Instance Attribute Summary collapse
-
#collection ⇒ Object
Returns the value of attribute collection.
-
#count ⇒ Object
Returns the value of attribute count.
-
#key ⇒ Object
Returns the value of attribute key.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
Methods included from Model
Methods included from Model::Singularable
#root_relative_iri, #root_relative_singular_iri, #singular_iri, #singular_iri_opts, #singular_iri_template, #singular_resource?
Methods included from Model::Serialization
#preview_includes, #show_includes
Methods included from Model::Menuable
Methods included from Model::Iri
#anonymous_iri, #anonymous_iri?, #iri_elements, #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, #collection_iri, #collection_options_for, #collection_root_relative_iri, #parent_collections
Methods included from Model::Actionable
#action, #action_list, #action_triples, #actions, #collection_actions, #favorite_actions
Instance Attribute Details
#collection ⇒ Object
Returns the value of attribute collection.
10 11 12 |
# File 'app/models/linked_rails/collection/filter_option.rb', line 10 def collection @collection end |
#count ⇒ Object
Returns the value of attribute count.
10 11 12 |
# File 'app/models/linked_rails/collection/filter_option.rb', line 10 def count @count end |
#key ⇒ Object
Returns the value of attribute key.
10 11 12 |
# File 'app/models/linked_rails/collection/filter_option.rb', line 10 def key @key end |
#value ⇒ Object
Returns the value of attribute value.
10 11 12 |
# File 'app/models/linked_rails/collection/filter_option.rb', line 10 def value @value end |
Instance Method Details
#iri(**_opts) ⇒ Object
12 13 14 |
# File 'app/models/linked_rails/collection/filter_option.rb', line 12 def iri(**_opts) self end |