Class: ZendeskAPI::MobileDevice

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

- (Boolean) clear_badge(options = {})

Clears this devices' badge

Parameters:

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

    Options to pass to the request

Returns:

  • (Boolean)

    Success of this call



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

put :clear_badge