Skip to content

Instantly share code, notes, and snippets.

@syadlowsky
Created March 14, 2012 01:51
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save syadlowsky/2033315 to your computer and use it in GitHub Desktop.
Ruby standards
Bridge::initialize :api_key => 'abcdefgh' do |bridge|
puts 'connected!'
bridge.get_service("adder") do |service|
service.add(3, 5) do |ret_value|
puts ret_value
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment