Class: CrvApiClient::Api::Animals::LocalDate

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

Overview

/localDate

dayOfMonth - SOAP::SOAPInt
monthOfYear - SOAP::SOAPInt
year - SOAP::SOAPInt

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(dayOfMonth = nil, monthOfYear = nil, year = nil) ⇒ LocalDate

Returns a new instance of LocalDate.



265
266
267
268
269
# File 'lib/crv_api_client/api/animals/animals.rb', line 265

def initialize(dayOfMonth = nil, monthOfYear = nil, year = nil)
  @dayOfMonth = dayOfMonth
  @monthOfYear = monthOfYear
  @year = year
end

Instance Attribute Details

#dayOfMonthObject

Returns the value of attribute dayOfMonth.



261
262
263
# File 'lib/crv_api_client/api/animals/animals.rb', line 261

def dayOfMonth
  @dayOfMonth
end

#monthOfYearObject

Returns the value of attribute monthOfYear.



262
263
264
# File 'lib/crv_api_client/api/animals/animals.rb', line 262

def monthOfYear
  @monthOfYear
end

#yearObject

Returns the value of attribute year.



263
264
265
# File 'lib/crv_api_client/api/animals/animals.rb', line 263

def year
  @year
end