Class: ZendeskAPI::ViewRow

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

Instance Attribute Summary (collapse)

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

Class Method Details

+ (Object) model_key



282
283
284
# File 'lib/zendesk_api/resources.rb', line 282

def self.model_key
  "rows"
end

Instance Method Details

- (ZendeskAPI::User) assignee

The associated object

Returns:



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

has :assignee, :class => User

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

The associated object

Parameters:

Returns:



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

has :assignee, :class => User

- (ZendeskAPI::Group) group

The associated object

Returns:



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

has Group

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

The associated object

Parameters:

Returns:



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

has Group

- (ZendeskAPI::Organization) organization

The associated object

Returns:



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

has Organization

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

The associated object

Parameters:

Returns:



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

has Organization

- (ZendeskAPI::User) requester

The associated object

Returns:



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

has :requester, :class => User

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

The associated object

Parameters:

Returns:



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

has :requester, :class => User

- (ZendeskAPI::User) submitter

The associated object

Returns:



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

has :submitter, :class => User

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

The associated object

Parameters:

Returns:



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

has :submitter, :class => User

- (ZendeskAPI::Ticket) ticket

The associated object

Returns:



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

has Ticket

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

The associated object

Parameters:

Returns:



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

has Ticket