Sha256: 2387996ff59224a9fe79faa066e5180d9a19a3c1453ec4109af60ed191f38aeb
Contents?: true
Size: 764 Bytes
Versions: 1
Compression:
Stored size: 764 Bytes
Contents
Restapi.configure do |config| config.app_name = "Test app" config.app_info = <<-EOS == Getting Started 1. Install Rails at the command prompt if you haven't yet: gem install rails 2. At the command prompt, create a new Rails application: rails new myapp where "myapp" is the application name. 3. Change directory to +myapp+ and start the web server: cd myapp; rails server Run with <tt>--help</tt> or <tt>-h</tt> for options. 4. Go to http://localhost:3000 and you'll see: "Welcome aboard: You're riding Ruby on Rails!" EOS config.copyright = "© 2012 Pavel Pokorny" config.doc_base_url = "/restapi" config.api_base_url = "/api" config.markup_language = :rdoc # config.validate = false end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
restapi-0.0.2 | spec/dummy/config/initializers/restapi.rb |