Sha256: 3bf6b9c4a264aceea49436a8122f16e2068bf0891958ec033623587ee7ffc1ab

Contents?: true

Size: 293 Bytes

Versions: 1

Compression:

Stored size: 293 Bytes

Contents

module MtGox
  module Request
    def get(path, options={})
      request(:get, path, options)
    end

    private

    def request(method, path, options)
      response = connection.send(method) do |request|
        request.url(path, options)
      end
      response.body
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mtgox-0.0.1 lib/mtgox/request.rb