Class: GustoEmbedded::Models::Shared::ContractorMemberPortalInvitationStatus
- Inherits:
-
Object
- Object
- GustoEmbedded::Models::Shared::ContractorMemberPortalInvitationStatus
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/gusto_embedded/models/shared/contractor_member_portal_invitation_status.rb
Overview
Member portal invitation status information. Only included when the include param has the portal_invitations value set.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(status: nil, token_expired: nil, welcome_email_sent_at: nil, last_password_resent_at: nil) ⇒ ContractorMemberPortalInvitationStatus
constructor
A new instance of ContractorMemberPortalInvitationStatus.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(status: nil, token_expired: nil, welcome_email_sent_at: nil, last_password_resent_at: nil) ⇒ ContractorMemberPortalInvitationStatus
Returns a new instance of ContractorMemberPortalInvitationStatus.
25 26 27 28 29 30 |
# File 'lib/gusto_embedded/models/shared/contractor_member_portal_invitation_status.rb', line 25 def initialize(status: nil, token_expired: nil, welcome_email_sent_at: nil, last_password_resent_at: nil) @status = status @token_expired = token_expired @welcome_email_sent_at = welcome_email_sent_at @last_password_resent_at = last_password_resent_at end |
Instance Method Details
#==(other) ⇒ Object
33 34 35 36 37 38 39 40 |
# File 'lib/gusto_embedded/models/shared/contractor_member_portal_invitation_status.rb', line 33 def ==(other) return false unless other.is_a? self.class return false unless @status == other.status return false unless @token_expired == other.token_expired return false unless @welcome_email_sent_at == other.welcome_email_sent_at return false unless @last_password_resent_at == other.last_password_resent_at true end |