Class: Mopidy::Http
- Inherits:
-
Object
- Object
- Mopidy::Http
- Defined in:
- lib/mopidy/http.rb
Class Method Summary collapse
Class Method Details
.post(url, body, headers) ⇒ Object
5 6 7 8 9 |
# File 'lib/mopidy/http.rb', line 5 def self.post(url, body, headers) http_provider = Mopidy.configuration.http_provider res = http_provider.post(url, body: body, headers: headers) Response.new(res) end |