Class: ZendeskAPI::Request

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

Defined Under Namespace

Classes: Comment

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

#commentZendeskAPI::Request::Comment

Returns The associated object

Returns:



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

has Comment, :inline => true

#comment=(value) ⇒ ZendeskAPI::Request::Comment

Returns The associated object

Parameters:

Returns:



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

has Comment, :inline => true

#comments(options = {}) ⇒ ZendeskAPI::Request::Comment

Returns The associated object

Parameters:

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

    Options to pass to the collection object

Returns:



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

has_many Comment

#comments=(value) ⇒ ZendeskAPI::Request::Comment

Returns The associated object

Parameters:

Returns:



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

has_many Comment

#groupZendeskAPI::Group

Returns The associated object

Returns:



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

has Group

#group=(value) ⇒ ZendeskAPI::Group

Returns The associated object

Parameters:

Returns:



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

has Group

#organizationZendeskAPI::Organization

Returns The associated object

Returns:



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

has Organization

#organization=(value) ⇒ ZendeskAPI::Organization

Returns The associated object

Parameters:

Returns:



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

has Organization

#requesterZendeskAPI::User

Returns The associated object

Returns:



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

has :requester, :class => User

#requester=(value) ⇒ ZendeskAPI::User

Returns The associated object

Parameters:

Returns:



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

has :requester, :class => User