Class: ZendeskAPI::Request::Comment
- Inherits:
-
ZendeskAPI::ReadResource
- Object
- Data
- DataResource
- ZendeskAPI::ReadResource
- ZendeskAPI::Request::Comment
- Defined in:
- lib/zendesk_api/resources.rb
Instance Attribute Summary (collapse)
-
- (ZendeskAPI::Association) association
inherited
from Data
The association.
-
- (Hash) attributes
(also: #to_param)
inherited
from Data
readonly
The resource's attributes.
-
- (Object) error
inherited
from DataResource
Returns the value of attribute error.
-
- (Object) error_message
inherited
from DataResource
Returns the value of attribute error_message.
-
- (Array) errors
inherited
from Data
The last received errors.
-
- (Object) response
inherited
from Data
Place to dump the last response.
Instance Method Summary (collapse)
-
- (ZendeskAPI::Attachment) attachments(options = {})
The associated object.
-
- (ZendeskAPI::Attachment) attachments=(value)
The associated object.
-
- (ZendeskAPI::User) author
The associated object.
-
- (ZendeskAPI::User) author=(value)
The associated object.
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
- (Hash) attributes (readonly) Also known as: to_param Originally defined in class Data
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
- (Object) response Originally defined in class Data
Place to dump the last response
Instance Method Details
- (ZendeskAPI::Attachment) attachments(options = {})
The associated object
193 |
# File 'lib/zendesk_api/resources.rb', line 193 has_many Attachment, :inline => true |
- (ZendeskAPI::Attachment) attachments=(value)
The associated object
193 |
# File 'lib/zendesk_api/resources.rb', line 193 has_many Attachment, :inline => true |
- (ZendeskAPI::User) author
The associated object
194 |
# File 'lib/zendesk_api/resources.rb', line 194 has :author, :class => User |
- (ZendeskAPI::User) author=(value)
The associated object
194 |
# File 'lib/zendesk_api/resources.rb', line 194 has :author, :class => User |