class EventType
Attributes
api[RW]
Public Class Methods
new(config)
click to toggle source
# File lib/tacklebox/components/event_type.rb, line 6 def initialize(config) self.api = EventTypeApi.new(config) end
Public Instance Methods
create(service_id, event_type_data)
click to toggle source
# File lib/tacklebox/components/event_type.rb, line 14 def create(service_id, event_type_data) self.api.createEventType(service_id, event_type_data) end
delete(service_id, event_type_id)
click to toggle source
# File lib/tacklebox/components/event_type.rb, line 22 def delete(service_id, event_type_id) self.api.deleteEventType(service_id, event_type_id) end
get(service_id, event_type_id)
click to toggle source
# File lib/tacklebox/components/event_type.rb, line 18 def get(service_id, event_type_id) self.api.getEventType(service_id, event_type_id) end
list(service_id)
click to toggle source
# File lib/tacklebox/components/event_type.rb, line 10 def list(service_id) self.api.list_event_types(service_id) end