Created
March 14, 2012 01:51
-
-
Save syadlowsky/2033315 to your computer and use it in GitHub Desktop.
Ruby standards
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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