Method: FreshdeskAPI::Update::ClassMethods#update
- Defined in:
- lib/freshdesk_api/actions.rb
#update(client, attributes = {}, &block) ⇒ Object
Updates a resource, returning nil if it fails
140 141 142 143 144 |
# File 'lib/freshdesk_api/actions.rb', line 140 def update(client, attributes = {}, &block) update!(client, attributes, &block) rescue FreshdeskAPI::Error::ClientError false end |