Class: CrvApiClient::Api::Animals::AverageHerdWeight
- Inherits:
-
Object
- Object
- CrvApiClient::Api::Animals::AverageHerdWeight
- Defined in:
- lib/crv_api_client/api/animals/animals.rb
Overview
/averageHerdWeight
keeper - CrvApiClient::Api::Animals::ParticipantId
referencePeriod - CrvApiClient::Api::Animals::TimePeriod
herdWeightCategoryResult - CrvApiClient::Api::Animals::HerdWeightCategory
Instance Attribute Summary collapse
-
#herdWeightCategoryResult ⇒ Object
Returns the value of attribute herdWeightCategoryResult.
-
#keeper ⇒ Object
Returns the value of attribute keeper.
-
#referencePeriod ⇒ Object
Returns the value of attribute referencePeriod.
Instance Method Summary collapse
-
#initialize(keeper = nil, referencePeriod = nil, herdWeightCategoryResult = []) ⇒ AverageHerdWeight
constructor
A new instance of AverageHerdWeight.
Constructor Details
#initialize(keeper = nil, referencePeriod = nil, herdWeightCategoryResult = []) ⇒ AverageHerdWeight
Returns a new instance of AverageHerdWeight.
1026 1027 1028 1029 1030 |
# File 'lib/crv_api_client/api/animals/animals.rb', line 1026 def initialize(keeper = nil, referencePeriod = nil, herdWeightCategoryResult = []) @keeper = keeper @referencePeriod = referencePeriod @herdWeightCategoryResult = herdWeightCategoryResult end |
Instance Attribute Details
#herdWeightCategoryResult ⇒ Object
Returns the value of attribute herdWeightCategoryResult.
1024 1025 1026 |
# File 'lib/crv_api_client/api/animals/animals.rb', line 1024 def herdWeightCategoryResult @herdWeightCategoryResult end |
#keeper ⇒ Object
Returns the value of attribute keeper.
1022 1023 1024 |
# File 'lib/crv_api_client/api/animals/animals.rb', line 1022 def keeper @keeper end |
#referencePeriod ⇒ Object
Returns the value of attribute referencePeriod.
1023 1024 1025 |
# File 'lib/crv_api_client/api/animals/animals.rb', line 1023 def referencePeriod @referencePeriod end |