Class: Rafflesia::HomologyQueryContextSelection
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::HomologyQueryContextSelection
- Defined in:
- lib/rafflesia/homology_query_context_measurements/homology_query_context_selection.rb
Constant Summary collapse
- HASH_ATTRS =
{ database_id: :database_id, database_release_id: :database_release_id }.freeze
Instance Attribute Summary collapse
-
#database_id ⇒ Object
Returns the value of attribute database_id.
-
#database_release_id ⇒ Object
Returns the value of attribute database_release_id.
Instance Method Summary collapse
-
#initialize(json) ⇒ HomologyQueryContextSelection
constructor
A new instance of HomologyQueryContextSelection.
Constructor Details
#initialize(json) ⇒ HomologyQueryContextSelection
Returns a new instance of HomologyQueryContextSelection.
17 18 19 20 21 22 |
# File 'lib/rafflesia/homology_query_context_measurements/homology_query_context_selection.rb', line 17 def initialize(json) super() hash = self.class.normalize(json) @database_id = hash[:database_id] @database_release_id = hash[:database_release_id] end |
Instance Attribute Details
#database_id ⇒ Object
Returns the value of attribute database_id.
13 14 15 |
# File 'lib/rafflesia/homology_query_context_measurements/homology_query_context_selection.rb', line 13 def database_id @database_id end |
#database_release_id ⇒ Object
Returns the value of attribute database_release_id.
13 14 15 |
# File 'lib/rafflesia/homology_query_context_measurements/homology_query_context_selection.rb', line 13 def database_release_id @database_release_id end |