Class: CirroIOV2::Resources::NotificationBroadcast
- Defined in:
- lib/cirro_io_v2/resources/notification_broadcast.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from CirroIOV2::Resources::Base
Instance Method Details
#create(params) ⇒ Object
4 5 6 7 |
# File 'lib/cirro_io_v2/resources/notification_broadcast.rb', line 4 def create(params) response = client.request_client.request(:post, resource_root, body: params) Responses::NotificationBroadcastResponse.new(response.body) end |