Sha256: 339b69ec71f28bee4c9680e6384a524460727c3ccec8bddeefbf5a47300aa158
Contents?: true
Size: 257 Bytes
Versions: 2
Compression:
Stored size: 257 Bytes
Contents
require 'mopidy/response' module Mopidy class Http 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 end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
ruby-mopidy-0.2.1 | lib/mopidy/http.rb |
mopidy-0.2.0 | lib/mopidy/http.rb |