class Sparkby::HTTPCaller

Public Instance Methods

delete(url, basic_auth = nil) click to toggle source
# File lib/sparkby/http_caller.rb, line 17
def delete(url, basic_auth = nil)
  self.class.delete(url, :basic_auth => basic_auth)
end
get(url, header = nil, basic_auth = nil) click to toggle source
# File lib/sparkby/http_caller.rb, line 9
def get(url, header = nil, basic_auth = nil)
  self.class.get(url, :headers => header, :basic_auth => basic_auth)
end
post(url, body, basic_auth = nil, header = nil) click to toggle source
# File lib/sparkby/http_caller.rb, line 13
def post(url, body, basic_auth = nil, header = nil)
  self.class.post(url, :headers => header, :basic_auth => basic_auth, :body => body)
end