Class: Kombo::Models::Shared::PostAtsCandidatesRequestBodyAttachment
- Inherits:
-
Object
- Object
- Kombo::Models::Shared::PostAtsCandidatesRequestBodyAttachment
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/kombo/models/shared/postatscandidatesrequestbody_attachment.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(name:, type:, content_type: nil, data_url: nil, data: nil) ⇒ PostAtsCandidatesRequestBodyAttachment
constructor
A new instance of PostAtsCandidatesRequestBodyAttachment.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(name:, type:, content_type: nil, data_url: nil, data: nil) ⇒ PostAtsCandidatesRequestBodyAttachment
Returns a new instance of PostAtsCandidatesRequestBodyAttachment.
37 38 39 40 41 42 43 |
# File 'lib/kombo/models/shared/postatscandidatesrequestbody_attachment.rb', line 37 def initialize(name:, type:, content_type: nil, data_url: nil, data: nil) @name = name @type = type @content_type = content_type @data_url = data_url @data = data end |
Instance Method Details
#==(other) ⇒ Object
46 47 48 49 50 51 52 53 54 |
# File 'lib/kombo/models/shared/postatscandidatesrequestbody_attachment.rb', line 46 def ==(other) return false unless other.is_a? self.class return false unless @name == other.name return false unless @type == other.type return false unless @content_type == other.content_type return false unless @data_url == other.data_url return false unless @data == other.data true end |