Class: ZendeskAPI::Organization

Inherits:
Resource 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 Read

#find

Methods included from Destroy

#destroy, #destroyed?

Methods included from Save

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

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::Ability) ability

The associated object

Returns:



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

has Ability, :inline => true

- (ZendeskAPI::Ability) ability=(value)

The associated object

Parameters:

Returns:



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

has Ability, :inline => true

- (ZendeskAPI::Group) group

The associated object

Returns:



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

has Group

- (ZendeskAPI::Group) group=(value)

The associated object

Parameters:

Returns:



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

has Group

- (ZendeskAPI::Ticket) tickets(options = {})

The associated object

Parameters:

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

    Options to pass to the collection object

Returns:



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

has_many Ticket

- (ZendeskAPI::Ticket) tickets=(value)

The associated object

Parameters:

Returns:



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

has_many Ticket

- (ZendeskAPI::User) users(options = {})

The associated object

Parameters:

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

    Options to pass to the collection object

Returns:



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

has_many User

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

The associated object

Parameters:

Returns:



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

has_many User