Sha256: 9606f76153a3b161fe42f94a760bb0fb17762b9faebb4a9bb25f4fe27c3dbf42

Contents?: true

Size: 335 Bytes

Versions: 16

Compression:

Stored size: 335 Bytes

Contents

Apipie.configure do |config|
  config.app_name                = "<%= Rails.application.class.name[/^\w+/] %>"
  config.api_base_url            = "<%= options.api_path %>"
  config.doc_base_url            = "<%= options.route %>"
  # were is your API defined?
  config.api_controllers_matcher = "#{Rails.root}/app/controllers/*.rb"
end

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
apipie-rails-0.1.3 lib/generators/apipie/install/templates/initializer.rb.erb
apipie-rails-0.1.2 lib/generators/apipie/install/templates/initializer.rb.erb
apipie-rails-0.1.1 lib/generators/apipie/install/templates/initializer.rb.erb
apipie-rails-0.1.0 lib/generators/apipie/install/templates/initializer.rb.erb
apipie-rails-0.0.24 lib/generators/apipie/install/templates/initializer.rb.erb
apipie-rails-0.0.23 lib/generators/apipie/install/templates/initializer.rb.erb
jmoses_apipie-rails-0.0.23 lib/generators/apipie/install/templates/initializer.rb.erb
apipie-rails-0.0.22 lib/generators/apipie/install/templates/initializer.rb.erb
apipie-rails-0.0.21 lib/generators/apipie/install/templates/initializer.rb.erb
apipie-rails-0.0.20 lib/generators/apipie/install/templates/initializer.rb.erb
apipie-rails-0.0.19 lib/generators/apipie/install/templates/initializer.rb.erb
apipie-rails-0.0.18 lib/generators/apipie/install/templates/initializer.rb.erb
apipie-rails-0.0.17 lib/generators/apipie/install/templates/initializer.rb.erb
apipie-rails-0.0.16 lib/generators/apipie/install/templates/initializer.rb.erb
apipie-rails-0.0.15 lib/generators/apipie/install/templates/initializer.rb.erb
apipie-rails-0.0.14 lib/generators/apipie/install/templates/initializer.rb.erb