Class: CrvApiClient::Api::Animals::Pedigree
- Inherits:
-
Object
- Object
- CrvApiClient::Api::Animals::Pedigree
- Defined in:
- lib/crv_api_client/api/animals/animals.rb
Overview
/pedigree
sire - CrvApiClient::Api::Animals::Animal
dam - CrvApiClient::Api::Animals::Animal
Instance Attribute Summary collapse
-
#dam ⇒ Object
Returns the value of attribute dam.
-
#sire ⇒ Object
Returns the value of attribute sire.
Instance Method Summary collapse
-
#initialize(sire = nil, dam = nil) ⇒ Pedigree
constructor
A new instance of Pedigree.
Constructor Details
#initialize(sire = nil, dam = nil) ⇒ Pedigree
Returns a new instance of Pedigree.
1254 1255 1256 1257 |
# File 'lib/crv_api_client/api/animals/animals.rb', line 1254 def initialize(sire = nil, dam = nil) @sire = sire @dam = dam end |
Instance Attribute Details
#dam ⇒ Object
Returns the value of attribute dam.
1252 1253 1254 |
# File 'lib/crv_api_client/api/animals/animals.rb', line 1252 def dam @dam end |
#sire ⇒ Object
Returns the value of attribute sire.
1251 1252 1253 |
# File 'lib/crv_api_client/api/animals/animals.rb', line 1251 def sire @sire end |