Class: GustoEmbedded::Models::Shared::UnblockOptions
- Inherits:
-
Object
- Object
- GustoEmbedded::Models::Shared::UnblockOptions
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/gusto_embedded/models/shared/unblock_options.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(unblock_type: nil, check_date: nil, metadata: nil) ⇒ UnblockOptions
constructor
A new instance of UnblockOptions.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(unblock_type: nil, check_date: nil, metadata: nil) ⇒ UnblockOptions
Returns a new instance of UnblockOptions.
23 24 25 26 27 |
# File 'lib/gusto_embedded/models/shared/unblock_options.rb', line 23 def initialize(unblock_type: nil, check_date: nil, metadata: nil) @unblock_type = unblock_type @check_date = check_date @metadata = end |
Instance Method Details
#==(other) ⇒ Object
30 31 32 33 34 35 36 |
# File 'lib/gusto_embedded/models/shared/unblock_options.rb', line 30 def ==(other) return false unless other.is_a? self.class return false unless @unblock_type == other.unblock_type return false unless @check_date == other.check_date return false unless @metadata == other. true end |