Skip to content

Instantly share code, notes, and snippets.

@syadlowsky
Created March 14, 2012 01:51
Show Gist options
  • Save syadlowsky/2033315 to your computer and use it in GitHub Desktop.
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