Sha256: 4cc92dc17a058480608fd1681d0039965e1d73f54445c7c783ed87497f6495f8
Contents?: true
Size: 947 Bytes
Versions: 1
Compression:
Stored size: 947 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 = "/dokumentace" config.api_base_url = "/api" # config.markup = choose one of: # Restapi::Markup::RDoc.new [default] # Restapi::Markup::Markdown.new # Restapi::Markup::Textile.new # or provide another class with to_html(text) instance method # config.validate = false end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
restapi-0.0.3 | spec/dummy/config/initializers/restapi.rb |