Sha256: 7c89d7091ade2eb5777d8eaa9bf1373c3adc35ae524498b2bb9799accffaa851

Contents?: true

Size: 368 Bytes

Versions: 56

Compression:

Stored size: 368 Bytes

Contents

class Facebooker::Service::BaseService
  def parse_results?
    true
  end
  
  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
  
end

Version data entries

56 entries across 56 versions & 18 rubygems

Version Path
micahwedemeyer-facebooker-1.0.50 lib/facebooker/service/base_service.rb
micahwedemeyer-facebooker-1.0.51 lib/facebooker/service/base_service.rb
mmangino-facebooker-1.0.46 lib/facebooker/service/base_service.rb
mmangino-facebooker-1.0.47 lib/facebooker/service/base_service.rb
mmangino-facebooker-1.0.48 lib/facebooker/service/base_service.rb
mmangino-facebooker-1.0.49 lib/facebooker/service/base_service.rb
mmangino-facebooker-1.0.50 lib/facebooker/service/base_service.rb
pomartel-facebooker-1.0.47 lib/facebooker/service/base_service.rb
simianarmy-facebooker-1.0.50 lib/facebooker/service/base_service.rb
simianarmy-facebooker-1.0.51 lib/facebooker/service/base_service.rb
taweili-facebooker-1.0.47 lib/facebooker/service/base_service.rb
taweili-facebooker-1.0.50 lib/facebooker/service/base_service.rb
facebooker-1.0.75 lib/facebooker/service/base_service.rb
sentientmonkey-facebooker-1.0.74 lib/facebooker/service/base_service.rb
facebooker-micah-1.0.74 lib/facebooker/service/base_service.rb
facebooker-1.0.74 lib/facebooker/service/base_service.rb
facebooker-1.0.73 lib/facebooker/service/base_service.rb
facebooker-1.0.72 lib/facebooker/service/base_service.rb
facebooker-1.0.71 lib/facebooker/service/base_service.rb
facebooker-1.0.70 lib/facebooker/service/base_service.rb