Method: Phrase::ProjectUpdateParameters#==
- Defined in:
- lib/phrase/models/project_update_parameters.rb
#==(o) ⇒ Object
Checks equality by comparing each attribute.
295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 |
# File 'lib/phrase/models/project_update_parameters.rb', line 295 def ==(o) return true if self.equal?(o) self.class == o.class && account_id == o.account_id && name == o.name && point_of_contact == o.point_of_contact && main_format == o.main_format && media == o.media && shares_translation_memory == o.shares_translation_memory && project_image == o.project_image && remove_project_image == o.remove_project_image && workflow == o.workflow && machine_translation_enabled == o.machine_translation_enabled && enable_branching == o.enable_branching && protect_master_branch == o.protect_master_branch && enable_all_data_type_translation_keys_for_translators == o.enable_all_data_type_translation_keys_for_translators && == o. && zero_plural_form_enabled == o.zero_plural_form_enabled && autotranslate_enabled == o.autotranslate_enabled && autotranslate_check_new_translation_keys == o.autotranslate_check_new_translation_keys && autotranslate_check_new_uploads == o.autotranslate_check_new_uploads && autotranslate_check_new_locales == o.autotranslate_check_new_locales && autotranslate_mark_as_unverified == o.autotranslate_mark_as_unverified && autotranslate_use_machine_translation == o.autotranslate_use_machine_translation && autotranslate_use_translation_memory == o.autotranslate_use_translation_memory && default_encoding == o.default_encoding end |