Sha256: 7dc57218ccf27ca819c614612deffbc11f3a1473e30247ac56c5f7ea3a4b5fb3
Contents?: true
Size: 293 Bytes
Versions: 3
Compression:
Stored size: 293 Bytes
Contents
#!/usr/bin/env ruby require 'restful_objects' if ARGV[0].nil? then puts 'You must provide the script path to load: "restful_server script.rb"' exit(1) end load ARGV[0] RestfulObjects::DomainModel.current.base_url = ARGV[1] || 'http://localhost:4567' RestfulObjects::Router::Base.run!
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
restful_objects-0.0.8 | bin/restful_server |
restful_objects-0.0.7 | bin/restful_server |
restful_objects-0.0.6 | bin/restful_server |