Class: Rafflesia::OntologyReviewEvidenceReference
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::OntologyReviewEvidenceReference
- Defined in:
- lib/rafflesia/database_join_candidate_proposals/ontology_review_evidence_reference.rb
Constant Summary collapse
- HASH_ATTRS =
{ description: :description, digest: :digest, kind: :kind, reference: :reference }.freeze
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#digest ⇒ Object
Returns the value of attribute digest.
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#reference ⇒ Object
Returns the value of attribute reference.
Instance Method Summary collapse
-
#initialize(json) ⇒ OntologyReviewEvidenceReference
constructor
A new instance of OntologyReviewEvidenceReference.
Constructor Details
#initialize(json) ⇒ OntologyReviewEvidenceReference
Returns a new instance of OntologyReviewEvidenceReference.
21 22 23 24 25 26 27 28 |
# File 'lib/rafflesia/database_join_candidate_proposals/ontology_review_evidence_reference.rb', line 21 def initialize(json) super() hash = self.class.normalize(json) @description = hash[:description] @digest = hash[:digest] @kind = hash[:kind] @reference = hash[:reference] end |
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description.
15 16 17 |
# File 'lib/rafflesia/database_join_candidate_proposals/ontology_review_evidence_reference.rb', line 15 def description @description end |
#digest ⇒ Object
Returns the value of attribute digest.
15 16 17 |
# File 'lib/rafflesia/database_join_candidate_proposals/ontology_review_evidence_reference.rb', line 15 def digest @digest end |
#kind ⇒ Object
Returns the value of attribute kind.
15 16 17 |
# File 'lib/rafflesia/database_join_candidate_proposals/ontology_review_evidence_reference.rb', line 15 def kind @kind end |
#reference ⇒ Object
Returns the value of attribute reference.
15 16 17 |
# File 'lib/rafflesia/database_join_candidate_proposals/ontology_review_evidence_reference.rb', line 15 def reference @reference end |