Class: CrvApiClient::Api::Reproduction::LgcCalving

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

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(calving = nil, calf = []) ⇒ LgcCalving

Returns a new instance of LgcCalving.



119
120
121
122
# File 'lib/crv_api_client/api/reproduction/reproduction.rb', line 119

def initialize(calving = nil, calf = [])
  @calving = calving
  @calf = calf
end

Instance Attribute Details

#calfObject

Returns the value of attribute calf.



117
118
119
# File 'lib/crv_api_client/api/reproduction/reproduction.rb', line 117

def calf
  @calf
end

#calvingObject

Returns the value of attribute calving.



116
117
118
# File 'lib/crv_api_client/api/reproduction/reproduction.rb', line 116

def calving
  @calving
end