Class: Facebooker::Service::NetHttpService

Inherits:
BaseService
  • Object
show all
Defined in:
lib/facebooker/service/net_http_service.rb

Instance Method Summary collapse

Methods inherited from BaseService

#parse_results?, #post_params

Instance Method Details

#post_form(url, params) ⇒ Object



3
4
5
# File 'lib/facebooker/service/net_http_service.rb', line 3

def post_form(url,params)
  Net::HTTP.post_form(url, post_params(params))
end

#post_multipart_form(url, params) ⇒ Object



7
8
9
# File 'lib/facebooker/service/net_http_service.rb', line 7

def post_multipart_form(url,params)
  Net::HTTP.post_multipart_form(url, params)
end