Sha256: f0f1745b41f33696b212c8859e6b1a3f4173b5148fb1b955c945e8122ce30ee4
Contents?: true
Size: 912 Bytes
Versions: 51
Compression:
Stored size: 912 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, options = {}) return @api.create_event_type_api_v1_event_type_post(event_type_in, options) 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
51 entries across 51 versions & 1 rubygems