Class: ZendeskAPI::User::TopicComment

Inherits:
TopicComment show all
Extended by:
Read
Defined in:
lib/zendesk_api/resources.rb

Instance Attribute Summary (collapse)

Class Method Summary (collapse)

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 Attribute Details

- (ZendeskAPI::Association) association Originally defined in class Data

The association

Returns:

  • (ZendeskAPI::Association)

    The association

- (Hash) attributes (readonly) Also known as: to_param Originally defined in class Data

The resource's attributes

Returns:

  • (Hash)

    The resource's attributes

- (Array) errors Originally defined in class Data

The last received errors

Returns:

  • (Array)

    The last received errors

- (Object) response Originally defined in class Data

Place to dump the last response

Class Method Details

+ (Object) find(client, options = {}) Originally defined in module Read

Finds, returning nil if it fails

+ (Object) find!(client, options = {}) Originally defined in module Read

Finds a resource by an id and any options passed in. A custom path to search at can be passed into opts. It defaults to the Data.resource_name of the class.

Parameters:

  • client (Client)

    The Client object to be used

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

    Any additional GET parameters to be added

Raises:

  • (ArgumentError)