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
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
#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.
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 |