Sha256: 6aab87748e48259a3e6901c34e421979ee4eedf0fa71512db88b24ba57a691de

Contents?: true

Size: 216 Bytes

Versions: 3

Compression:

Stored size: 216 Bytes

Contents

require 'rest-more'
require 'eventmachine'

RestCore::Builder.default_app = RestCore::EmHttpRequest

EM.run{
  Fiber.new{
    p RestCore::Facebook.new.get('4')
    EM.stop
  }.resume
  puts "It's not blocking..."
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rest-more-1.0.2 example/facebook.rb
rest-more-1.0.1 example/facebook.rb
rest-more-1.0.0 example/facebook.rb