Class: GustoEmbedded::Models::Shared::CreateReport
- Inherits:
-
Object
- Object
- GustoEmbedded::Models::Shared::CreateReport
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/gusto_embedded/models/shared/create_report.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(request_uuid: nil, company_uuid: nil, file_type: nil, custom_name: nil) ⇒ CreateReport
constructor
A new instance of CreateReport.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(request_uuid: nil, company_uuid: nil, file_type: nil, custom_name: nil) ⇒ CreateReport
Returns a new instance of CreateReport.
25 26 27 28 29 30 |
# File 'lib/gusto_embedded/models/shared/create_report.rb', line 25 def initialize(request_uuid: nil, company_uuid: nil, file_type: nil, custom_name: nil) @request_uuid = request_uuid @company_uuid = company_uuid @file_type = file_type @custom_name = custom_name end |
Instance Method Details
#==(other) ⇒ Object
33 34 35 36 37 38 39 40 |
# File 'lib/gusto_embedded/models/shared/create_report.rb', line 33 def ==(other) return false unless other.is_a? self.class return false unless @request_uuid == other.request_uuid return false unless @company_uuid == other.company_uuid return false unless @file_type == other.file_type return false unless @custom_name == other.custom_name true end |