Class: Facebooker::Service::TyphoeusService
- Inherits:
-
BaseService
- Object
- BaseService
- Facebooker::Service::TyphoeusService
show all
- Includes:
- Typhoeus
- Defined in:
- lib/facebooker/service/typhoeus_service.rb
Instance Method Summary
collapse
Methods inherited from BaseService
#parse_results?, #post_params
Instance Method Details
#perform_post(url, params) ⇒ Object
8
9
10
|
# File 'lib/facebooker/service/typhoeus_service.rb', line 8
def perform_post(url,params)
self.class.post(url,:params=>post_params)
end
|
#post_form(url, params) ⇒ Object
4
5
6
|
# File 'lib/facebooker/service/typhoeus_service.rb', line 4
def post_form(url,params)
perform_post(url.to_s,post_params(params))
end
|
#post_multipart_form(url, params) ⇒ Object
12
13
14
|
# File 'lib/facebooker/service/typhoeus_service.rb', line 12
def post_multipart_form(url,params)
raise "Multipart not supported on Typhoeus"
end
|