Class: CrvApiClient::Api::Animals::DateReason

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

Overview

/dateReason

date - (any)
reason - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(date = nil, reason = nil) ⇒ DateReason

Returns a new instance of DateReason.



1120
1121
1122
1123
# File 'lib/crv_api_client/api/animals/animals.rb', line 1120

def initialize(date = nil, reason = nil)
  @date = date
  @reason = reason
end

Instance Attribute Details

#dateObject

Returns the value of attribute date.



1117
1118
1119
# File 'lib/crv_api_client/api/animals/animals.rb', line 1117

def date
  @date
end

#reasonObject

Returns the value of attribute reason.



1118
1119
1120
# File 'lib/crv_api_client/api/animals/animals.rb', line 1118

def reason
  @reason
end