Sha256: 7d8ccc0eca872674e19cc04e6ccdd98bdd2d454933fb163d6b58ed93b508757b

Contents?: true

Size: 186 Bytes

Versions: 6

Compression:

Stored size: 186 Bytes

Contents

# frozen_string_literal: true
module PhoneSites
  class BaseResponse
    def perform(url, method = 'get', options = {})
      Faraday.public_send(method, url, options)
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
phone_sites-0.1.2 lib/phone_sites/base_response.rb
phone_sites-0.1.1 lib/phone_sites/base_response.rb
phone_sites-0.1.0 lib/phone_sites/base_response.rb
phone_sites-0.0.5 lib/phone_sites/base_response.rb
phone_sites-0.0.5a lib/phone_sites/base_response.rb
phone_sites-0.0.4 lib/phone_sites/base_response.rb