Sha256: 7178b9f0dbf6a28f3a5edddf1a4e01dd90ae528c750392182ef87385b7789b54
Contents?: true
Size: 776 Bytes
Versions: 2
Compression:
Stored size: 776 Bytes
Contents
module CirroIOV2 module Resources class NotificationTopicPreference < Base def resource_root 'notification_topic_preferences' end def list(params = nil) response = client.request_client.request(:get, resource_root, params:) Responses::NotificationTopicPreferenceListResponse.new(response.body) end def create(params) response = client.request_client.request(:post, resource_root, body: params) Responses::NotificationTopicPreferenceResponse.new(response.body) end def update(id, params) response = client.request_client.request(:post, "#{resource_root}/#{id}", body: params) Responses::NotificationTopicPreferenceResponse.new(response.body) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cirro-ruby-client-2.6.5 | lib/cirro_io_v2/resources/notification_topic_preference.rb |
cirro-ruby-client-2.6.4 | lib/cirro_io_v2/resources/notification_topic_preference.rb |