Class: CrvApiClient::Api::Reproduction::GestationCalving
- Inherits:
-
Object
- Object
- CrvApiClient::Api::Reproduction::GestationCalving
- Defined in:
- lib/crv_api_client/api/reproduction/reproduction.rb
Overview
/gestationCalving
cow - CrvApiClient::Api::Reproduction::AnimalId
cowKeeper - CrvApiClient::Api::Reproduction::ActualKeeper
gestationDetails - CrvApiClient::Api::Reproduction::LgcGestation
calvingAndCalves - CrvApiClient::Api::Reproduction::LgcCalving
Instance Attribute Summary collapse
-
#calvingAndCalves ⇒ Object
Returns the value of attribute calvingAndCalves.
-
#cow ⇒ Object
Returns the value of attribute cow.
-
#cowKeeper ⇒ Object
Returns the value of attribute cowKeeper.
-
#gestationDetails ⇒ Object
Returns the value of attribute gestationDetails.
Instance Method Summary collapse
-
#initialize(cow = nil, cowKeeper = nil, gestationDetails = nil, calvingAndCalves = []) ⇒ GestationCalving
constructor
A new instance of GestationCalving.
Constructor Details
#initialize(cow = nil, cowKeeper = nil, gestationDetails = nil, calvingAndCalves = []) ⇒ GestationCalving
Returns a new instance of GestationCalving.
88 89 90 91 92 93 |
# File 'lib/crv_api_client/api/reproduction/reproduction.rb', line 88 def initialize(cow = nil, cowKeeper = nil, gestationDetails = nil, calvingAndCalves = []) @cow = cow @cowKeeper = cowKeeper @gestationDetails = gestationDetails @calvingAndCalves = calvingAndCalves end |
Instance Attribute Details
#calvingAndCalves ⇒ Object
Returns the value of attribute calvingAndCalves.
86 87 88 |
# File 'lib/crv_api_client/api/reproduction/reproduction.rb', line 86 def calvingAndCalves @calvingAndCalves end |
#cow ⇒ Object
Returns the value of attribute cow.
83 84 85 |
# File 'lib/crv_api_client/api/reproduction/reproduction.rb', line 83 def cow @cow end |
#cowKeeper ⇒ Object
Returns the value of attribute cowKeeper.
84 85 86 |
# File 'lib/crv_api_client/api/reproduction/reproduction.rb', line 84 def cowKeeper @cowKeeper end |
#gestationDetails ⇒ Object
Returns the value of attribute gestationDetails.
85 86 87 |
# File 'lib/crv_api_client/api/reproduction/reproduction.rb', line 85 def gestationDetails @gestationDetails end |