Sha256: 77b33a20791f534d9d9b428278bf265bdf8273d9f06f6ff363c219be0c4083f3

Contents?: true

Size: 336 Bytes

Versions: 9

Compression:

Stored size: 336 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 %>"
  # where is your API defined?
  config.api_controllers_matcher = "#{Rails.root}/app/controllers/*.rb"
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
apipie-rails-0.3.1 lib/generators/apipie/install/templates/initializer.rb.erb
apipie-rails-0.3.0 lib/generators/apipie/install/templates/initializer.rb.erb
apipie-rails-0.2.6 lib/generators/apipie/install/templates/initializer.rb.erb
apipie-rails-0.2.5 lib/generators/apipie/install/templates/initializer.rb.erb
apipie-rails-0.2.4 lib/generators/apipie/install/templates/initializer.rb.erb
apipie-rails-0.2.3 lib/generators/apipie/install/templates/initializer.rb.erb
apipie-rails-0.2.2 lib/generators/apipie/install/templates/initializer.rb.erb
apipie-rails-0.2.1 lib/generators/apipie/install/templates/initializer.rb.erb
apipie-rails-0.2.0 lib/generators/apipie/install/templates/initializer.rb.erb