Sha256: 727ad4e34327e14766b5ad5e24fa86625fc31980ee0d5bdbfd8d62ff9925fd66

Contents?: true

Size: 238 Bytes

Versions: 6

Compression:

Stored size: 238 Bytes

Contents

module Rapidshare
  module Utils
    def post(url, params)
      params[:filecontent] = File.new(params[:filecontent])
      ::RestClient.post(url, params)
    end

    def get(url)
      ::RestClient.get(url)
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rapidshare-ext-0.0.6 lib/rapidshare-base/utils.rb
rapidshare-ext-0.0.5 lib/rapidshare-base/utils.rb
rapidshare-ext-0.0.4 lib/rapidshare-base/utils.rb
rapidshare-ext-0.0.3 lib/rapidshare-base/utils.rb
rapidshare-ext-0.0.2 lib/rapidshare-base/utils.rb
rapidshare-ext-0.0.1 lib/rapidshare-base/utils.rb