Sha256: 85907f5af570b6f305c17bab1891ceea3094a174b7f871023a2cd23bde8ce975

Contents?: true

Size: 170 Bytes

Versions: 24

Compression:

Stored size: 170 Bytes

Contents

require 'artoo'

connection :loop
device :passthru
api :host => '127.0.0.1', :port => '4321'

work do
	puts "Hello from the API running at #{api_host}:#{api_port}..."
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
artoo-1.4.1 examples/hello_api.rb
artoo-1.4.0 examples/hello_api.rb
artoo-1.3.0 examples/hello_api.rb
artoo-1.2.2 examples/hello_api.rb
artoo-1.2.1 examples/hello_api.rb
artoo-1.2.0 examples/hello_api.rb
artoo-1.1.1 examples/hello_api.rb
artoo-1.1.0 examples/hello_api.rb
artoo-1.1.0.pre examples/hello_api.rb
artoo-1.0.0 examples/hello_api.rb
artoo-1.0.0.rc4 examples/hello_api.rb
artoo-1.0.0.rc3 examples/hello_api.rb
artoo-1.0.0.rc2 examples/hello_api.rb
artoo-1.0.0.rc1 examples/hello_api.rb
artoo-1.0.0.pre examples/hello_api.rb
artoo-0.5.0 examples/hello_api.rb
artoo-0.4.1 examples/hello_api.rb
artoo-0.4.0 examples/hello_api.rb
artoo-0.3.0 examples/hello_api.rb
artoo-0.2.0 examples/hello_api.rb