Class: CrvApiClient::Api::Animals::Pedigree

Inherits:
Object
  • Object
show all
Defined in:
lib/crv_api_client/api/animals/animals.rb

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#damObject

Returns the value of attribute dam.



1252
1253
1254
# File 'lib/crv_api_client/api/animals/animals.rb', line 1252

def dam
  @dam
end

#sireObject

Returns the value of attribute sire.



1251
1252
1253
# File 'lib/crv_api_client/api/animals/animals.rb', line 1251

def sire
  @sire
end