Class: ZendeskAPI::Request::Comment

Inherits:
ZendeskAPI::ReadResource show all
Defined in:
lib/zendesk_api/resources.rb

Instance Attribute Summary

Attributes inherited from DataResource

#error, #error_message

Attributes inherited from Data

#association, #attributes, #response

Instance Method Summary (collapse)

Methods included from ZendeskAPI::Read

#find

Methods included from Verbs

#delete, #post, #put

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:



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

has_many Attachment, :inline => true

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

The associated object

Parameters:

Returns:



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

has_many Attachment, :inline => true

- (ZendeskAPI::User) author

The associated object

Returns:



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

has :author, :class => User

- (ZendeskAPI::User) author=(value)

The associated object

Parameters:

Returns:



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

has :author, :class => User