lib/zendesk_api/actions.rb
# Updates  a resource given the id passed in.
# @param [Client] client The {Client} object to be used
# @param [Hash] attributes The attributes to update. Default to {} 
Updates  a resource given the id passed in.
Updates a resource given the id passed in .
def update(client, attributes = {})
        ZendeskAPI::Client.check_deprecated_namespace_usage attributes, singular_resource_name
        resource = new(client, attributes)
        resource.save
      end
def update ( client , attributes = { } ) ZendeskAPI :: Client . check_deprecated_namespace_usage attributes , singular_resource_name resource = new ( client , attributes ) resource . save end
Updates  a resource given the id passed in.
Updates a resource given the id passed in .
client
<not_specific>
attributes
<not_specific>
<not_specific>
attributes The attributes to update. Default to {}
attributes The attributes to update . Default to {}