Method: FreshdeskAPI::Read#find

Defined in:
lib/freshdesk_api/actions.rb

#find(client, options = {}, &block) ⇒ Object

Finds, returning nil if it fails



35
36
37
38
39
# File 'lib/freshdesk_api/actions.rb', line 35

def find(client, options = {}, &block)
  find!(client, options, &block)
rescue FreshdeskAPI::Error::ClientError
  nil
end