Sha256: bc19bffd89b59451656b15dcef5cdae9a3ded1e1fcd47415c3d11eb9ca4b6e30
Contents?: true
Size: 505 Bytes
Versions: 15
Compression:
Stored size: 505 Bytes
Contents
module Vzaar module OAuthExt module Multipart def create_http_request(http_method, path, *arguments) _params = arguments.first file = _params.is_a?(Hash) ? _params[:file] : nil if file && file.respond_to?(:read) uri = URI.parse(site) path = uri.path + path if uri.path && uri.path != '/' Vzaar::Request::Multipart.new(path, file).request else super(http_method, path, *arguments) end end end end end
Version data entries
15 entries across 15 versions & 1 rubygems