Class: Valkyrie::Persistence::Solr::ORMConverter::Property

Inherits:
Object
  • Object
show all
Defined in:
lib/valkyrie/persistence/solr/orm_converter.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(key, value, document) ⇒ Property

Returns a new instance of Property.



58
59
60
61
62
# File 'lib/valkyrie/persistence/solr/orm_converter.rb', line 58

def initialize(key, value, document)
  @key = key
  @value = value
  @document = document
end

Instance Attribute Details

#documentObject (readonly)

Returns the value of attribute document.



57
58
59
# File 'lib/valkyrie/persistence/solr/orm_converter.rb', line 57

def document
  @document
end

#keyObject (readonly)

Returns the value of attribute key.



57
58
59
# File 'lib/valkyrie/persistence/solr/orm_converter.rb', line 57

def key
  @key
end

#valueObject (readonly)

Returns the value of attribute value.



57
58
59
# File 'lib/valkyrie/persistence/solr/orm_converter.rb', line 57

def value
  @value
end