Sha256: 3b0551095d118a6dff8f1af9d7ccc533dbbb86ebd09917a6890c5408f0e8bffb
Contents?: true
Size: 889 Bytes
Versions: 9
Compression:
Stored size: 889 Bytes
Contents
# frozen_string_literal: true module Svix class EventTypeAPI def initialize(api_client) @api = EventTypeApi.new(api_client) end def list(options = {}) return @api.list_event_types_api_v1_event_type_get(options) end def create(event_type_in) return @api.create_event_type_api_v1_event_type_post(event_type_in) end def get(event_type_name) return @api.get_event_type_api_v1_event_type_event_type_name_get(event_type_name) end def update(event_type_name, event_type_update) return @api.update_event_type_api_v1_event_type_event_type_name_put(event_type_name, event_type_update) end def delete(event_type_name) return @api.delete_event_type_api_v1_event_type_event_type_name_delete(event_type_name) end end end
Version data entries
9 entries across 9 versions & 1 rubygems