Class: ZendeskAPI::Forum

Inherits:
Resource show all
Defined in:
lib/zendesk_api/resources.rb,
lib/zendesk_api/resources.rb

Instance Attribute Summary (collapse)

Instance 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

- (Object) error Originally defined in class DataResource

Returns the value of attribute error

- (Object) error_message Originally defined in class DataResource

Returns the value of attribute error_message

- (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

Instance Method Details

- (ZendeskAPI::Category) category

The associated object

Returns:



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

has Category

- (ZendeskAPI::Category) category=(value)

The associated object

Parameters:

Returns:



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

has Category

- (ZendeskAPI::Locale) locale

The associated object

Returns:



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

has Locale

- (ZendeskAPI::Locale) locale=(value)

The associated object

Parameters:

Returns:



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

has Locale

- (ZendeskAPI::Organization) organization

The associated object

Returns:



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

has Organization

- (ZendeskAPI::Organization) organization=(value)

The associated object

Parameters:

Returns:



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

has Organization

- (ZendeskAPI::ForumSubscription) subscriptions(options = {})

The associated object

Parameters:

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

    Options to pass to the collection object

Returns:



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

has_many :subscriptions, :class => ForumSubscription

- (ZendeskAPI::ForumSubscription) subscriptions=(value)

The associated object

Parameters:

Returns:



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

has_many :subscriptions, :class => ForumSubscription

- (ZendeskAPI::Topic) topics(options = {})

The associated object

Parameters:

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

    Options to pass to the collection object

Returns:



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

has_many Topic

- (ZendeskAPI::Topic) topics=(value)

The associated object

Parameters:

Returns:



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

has_many Topic