Class: CirroIOV2::Resources::NotificationTopicPreference
- Inherits:
-
Base
- Object
- Base
- CirroIOV2::Resources::NotificationTopicPreference
show all
- Defined in:
- lib/cirro_io_v2/resources/notification_topic_preference.rb
Instance Attribute Summary
Attributes inherited from Base
#client
Instance Method Summary
collapse
Methods inherited from Base
#initialize
Instance Method Details
#list(params = nil) ⇒ Object
8
9
10
11
|
# File 'lib/cirro_io_v2/resources/notification_topic_preference.rb', line 8
def list(params = nil)
response = client.request_client.request(:get, resource_root, params:)
Responses::NotificationTopicPreferenceListResponse.new(response.body)
end
|
#resource_root ⇒ Object
4
5
6
|
# File 'lib/cirro_io_v2/resources/notification_topic_preference.rb', line 4
def resource_root
'notification_topic_preferences'
end
|