Method: Bugsnag::Api::Client::EventFields#create_event_field

Defined in:
lib/bugsnag/api/client/eventfields.rb

#create_event_field(project_id, display_id, path, filter_options, options = {}) ⇒ Sawyer::Resource

Create a custom Event Field

Parameters:

  • reindex (Hash)

    a customizable set of options

  • pivot_options (Hash)

    a customizable set of options

Returns:

  • (Sawyer::Resource)

    New Event Field

See Also:



24
25
26
# File 'lib/bugsnag/api/client/eventfields.rb', line 24

def create_event_field(project_id, display_id, path, filter_options, options = {})
  post "projects/#{project_id}/event_fields", options.merge({:display_id => display_id, :path => path, :filter_options => filter_options})
end