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