Method: FreshdeskAPI::Create::ClassMethods#create
- Defined in:
- lib/freshdesk_api/actions.rb
#create(client, attributes = {}, &block) ⇒ Object
Create a resource, returning nil if it fails
| 99 100 101 102 103 | # File 'lib/freshdesk_api/actions.rb', line 99 def create(client, attributes = {}, &block) create!(client, attributes, &block) rescue FreshdeskAPI::Error::ClientError nil end |