Class: A2A::PushNotification::Dispatcher::Transport
- Inherits:
-
Object
- Object
- A2A::PushNotification::Dispatcher::Transport
- Defined in:
- lib/a2a/push_notification/dispatcher.rb
Instance Method Summary collapse
Instance Method Details
#post(url, body:, headers:) ⇒ Object
25 26 27 28 |
# File 'lib/a2a/push_notification/dispatcher.rb', line 25 def post(url, body:, headers:) uri = URI.parse(url) handle(http_for(uri).request(build_request(uri, body, headers))) end |