Class: Facebooker::Service::BaseService
- Inherits:
-
Object
- Object
- Facebooker::Service::BaseService
show all
- Defined in:
- lib/facebooker/service/base_service.rb
Instance Method Summary
collapse
Instance Method Details
#parse_results? ⇒ Boolean
2
3
4
|
# File 'lib/facebooker/service/base_service.rb', line 2
def parse_results?
true
end
|
#post_params(params) ⇒ Object
6
7
8
9
10
11
12
13
14
15
16
|
# File 'lib/facebooker/service/base_service.rb', line 6
def post_params(params)
post_params = {}
params.each do |k,v|
if Array === v || Hash === v
post_params[k] = Facebooker.json_encode(v)
else
post_params[k] = v
end
end
post_params
end
|