Class: GustoEmbedded::Models::Shared::CompanyAttachmentDownloadUrl
- Inherits:
-
Object
- Object
- GustoEmbedded::Models::Shared::CompanyAttachmentDownloadUrl
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/gusto_embedded/models/shared/company_attachment_download_url.rb
Overview
The temporary url to download a Company Attachment File
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(url:) ⇒ CompanyAttachmentDownloadUrl
constructor
A new instance of CompanyAttachmentDownloadUrl.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(url:) ⇒ CompanyAttachmentDownloadUrl
Returns a new instance of CompanyAttachmentDownloadUrl.
19 20 21 |
# File 'lib/gusto_embedded/models/shared/company_attachment_download_url.rb', line 19 def initialize(url:) @url = url end |
Instance Method Details
#==(other) ⇒ Object
24 25 26 27 28 |
# File 'lib/gusto_embedded/models/shared/company_attachment_download_url.rb', line 24 def ==(other) return false unless other.is_a? self.class return false unless @url == other.url true end |