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