Class: SearchResultRemote::MetaInformation
- Inherits:
-
Object
- Object
- SearchResultRemote::MetaInformation
- Defined in:
- app/presenters/search_result_remote.rb
Instance Attribute Summary collapse
-
#key ⇒ Object
readonly
Returns the value of attribute key.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(key, value) ⇒ MetaInformation
constructor
A new instance of MetaInformation.
Constructor Details
#initialize(key, value) ⇒ MetaInformation
Returns a new instance of MetaInformation.
5 6 7 8 |
# File 'app/presenters/search_result_remote.rb', line 5 def initialize(key, value) @key = key @value = value end |
Instance Attribute Details
#key ⇒ Object (readonly)
Returns the value of attribute key.
3 4 5 |
# File 'app/presenters/search_result_remote.rb', line 3 def key @key end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
3 4 5 |
# File 'app/presenters/search_result_remote.rb', line 3 def value @value end |