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