Sha256: 1e4bc1e8944cdd5fc19d86784027feb54b31b53cc5f19579ab548f8bef283143

Contents?: true

Size: 302 Bytes

Versions: 1

Compression:

Stored size: 302 Bytes

Contents

module DirectEmployers
  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
direct_employers-0.0.1 lib/direct_employers/request.rb