Sha256: 95b01d709e35a70c1f68f8cd1ba93b0980ba6e00e815a7f18c32e2480848b674

Contents?: true

Size: 467 Bytes

Versions: 15

Compression:

Stored size: 467 Bytes

Contents

Restspec.configure do |config|
  config.base_url = '<%= options[:api_prefix] %>'
  config.schema_definition = "#{File.dirname __FILE__}/schemas.rb"
  config.endpoints_definition = "#{File.dirname __FILE__}/endpoints.rb"
  config.requirements_definition = "#{File.dirname __FILE__}/requirements.rb"
  #
  # => to add custom headers, use config.request.headers like this:
  #
  # config.request.headers['AUTHORIZATION'] = "Token token=\"#{config.custom.api_key}\""
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
restspec-0.3.2 lib/restspec/runners/install/templates/restspec_config.rb
restspec-0.3.1 lib/restspec/runners/install/templates/restspec_config.rb
restspec-0.3.0 lib/restspec/runners/install/templates/restspec_config.rb
restspec-0.2.6 lib/restspec/runners/install/templates/restspec_config.rb
restspec-0.2.5 lib/restspec/runners/install/templates/restspec_config.rb
restspec-0.2.4 lib/restspec/runners/install/templates/restspec_config.rb
restspec-0.2.3 lib/restspec/runners/install/templates/restspec_config.rb
restspec-0.2.2 lib/restspec/runners/install/templates/restspec_config.rb
restspec-0.2.1 lib/restspec/runners/install/templates/restspec_config.rb
restspec-0.2 lib/restspec/runners/install/templates/restspec_config.rb
restspec-0.1 lib/restspec/runners/install/templates/restspec_config.rb
restspec-0.0.4 lib/restspec/runners/install/templates/restspec_config.rb
restspec-0.0.3 bin/templates/restspec_config.rb
restspec-0.0.2 bin/templates/restspec_config.rb
restspec-0.0.1 bin/templates/restspec_config.rb