Class: ZohoHub::Attachment

Inherits:
BaseRecord show all
Defined in:
lib/zoho_hub/modules/attachment.rb

Constant Summary

Constants inherited from BaseRecord

BaseRecord::DEFAULT_PAGE, BaseRecord::DEFAULT_RECORDS_PER_PAGE, BaseRecord::MIN_RECORDS

Instance Attribute Summary collapse

Method Summary

Methods inherited from BaseRecord

add_note, add_related, all, all_related, #blueprint_transition, blueprint_transition, #blueprint_transitions, blueprint_transitions, build_response, #build_response, create, download_attachment, exists?, find, find_by, #initialize, #new_record?, related_attachments, remove_related, request_path, #save, #to_params, update, #update, update_all, update_related, where

Methods included from WithValidations

#add_error, #errors, included, #validate!, #validate_field!

Methods included from WithAttributes

#assign_attributes, #attributes, included

Methods included from WithConnection

#delete, #get, included, #post, #put

Constructor Details

This class inherits a constructor from ZohoHub::BaseRecord

Instance Attribute Details

#content_typeObject

Returns the value of attribute content_type.



39
40
41
# File 'lib/zoho_hub/modules/attachment.rb', line 39

def content_type
  @content_type
end

#fileObject

Returns the value of attribute file.



39
40
41
# File 'lib/zoho_hub/modules/attachment.rb', line 39

def file
  @file
end