Class: RakeCircleCI::HTTPClient

Inherits:
Object
  • Object
show all
Defined in:
lib/rake_circle_ci/client.rb

Instance Method Summary collapse

Instance Method Details

#delete(url, opts) ⇒ Object



56
57
58
# File 'lib/rake_circle_ci/client.rb', line 56

def delete(url, opts)
  assert_successful(Excon.delete(url, opts))
end

#get(url, opts) ⇒ Object



48
49
50
# File 'lib/rake_circle_ci/client.rb', line 48

def get(url, opts)
  assert_successful(Excon.get(url, opts))
end

#post(url, opts) ⇒ Object



52
53
54
# File 'lib/rake_circle_ci/client.rb', line 52

def post(url, opts)
  assert_successful(Excon.post(url, opts))
end