Class: Kombo::Models::Shared::GetHrisPerformanceReviewCyclesPositiveResponse
- Inherits:
-
Object
- Object
- Kombo::Models::Shared::GetHrisPerformanceReviewCyclesPositiveResponse
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/kombo/models/shared/gethrisperformancereviewcyclespositiveresponse.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(status:, data:) ⇒ GetHrisPerformanceReviewCyclesPositiveResponse
constructor
A new instance of GetHrisPerformanceReviewCyclesPositiveResponse.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(status:, data:) ⇒ GetHrisPerformanceReviewCyclesPositiveResponse
Returns a new instance of GetHrisPerformanceReviewCyclesPositiveResponse.
21 22 23 24 25 26 27 |
# File 'lib/kombo/models/shared/gethrisperformancereviewcyclespositiveresponse.rb', line 21 def initialize(status:, data:) unless status == 'success' raise ArgumentError, 'Invalid value for status' end @status = 'success' @data = data end |
Instance Method Details
#==(other) ⇒ Object
30 31 32 33 34 35 |
# File 'lib/kombo/models/shared/gethrisperformancereviewcyclespositiveresponse.rb', line 30 def ==(other) return false unless other.is_a? self.class return false unless @status == other.status return false unless @data == other.data true end |