Class Facebooker::Service::BaseService
In: lib/facebooker/service/base_service.rb
Parent: Object

Methods

Public Instance methods

[Source]

# File lib/facebooker/service/base_service.rb, line 2
  def parse_results?
    true
  end

[Source]

# File lib/facebooker/service/base_service.rb, line 6
  def post_params(params)
    post_params = {}
    params.each do |k,v|
      k = k.to_s unless k.is_a?(String)
      if Array === v || Hash === v
        post_params[k] = Facebooker.json_encode(v)       
      else
        post_params[k] = v
      end
    end
    post_params
  end

[Validate]