class Paratrooper::HttpClientWrapper

Attributes

http_client[R]

Public Class Methods

new(options = {}) click to toggle source
# File lib/paratrooper/http_client_wrapper.rb, line 5
def initialize(options = {})
  @http_client= options[:http_client] || Excon
end

Public Instance Methods

get(url) click to toggle source
# File lib/paratrooper/http_client_wrapper.rb, line 9
def get(url)
  http_client.get(url)
end