Class: ZendeskAPI::Upload

Inherits:
Data
  • Object
show all
Includes:
Create
Defined in:
lib/zendesk_api/resources.rb

Instance Attribute Summary

Attributes inherited from Data

#association, #attributes, #response

Instance Method Summary (collapse)

Methods included from Save

#clear_associations, #save, #save!, #save_associations

Methods inherited from Data

#/, #==, format, #id, #initialize, #method_missing, #new_record?, #path, resource_name, singular_resource_name, subclasses, #to_json

Constructor Details

This class inherits a constructor from ZendeskAPI::Data

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class ZendeskAPI::Data

Instance Method Details

- (ZendeskAPI::Attachment) attachments(options = {})

The associated object

Parameters:

  • options (Hash) (defaults to: {})

    Options to pass to the collection object

Returns:



54
# File 'lib/zendesk_api/resources.rb', line 54

has_many Attachment

- (ZendeskAPI::Attachment) attachments=(value)

The associated object

Parameters:

Returns:



54
# File 'lib/zendesk_api/resources.rb', line 54

has_many Attachment