module RspecApiDocumentation::DSL::Callback

DSL Methods for testing server callbacks

Public Instance Methods

callback_url() click to toggle source
# File lib/rspec_api_documentation/dsl/callback.rb, line 22
def callback_url
  raise "You must define callback_url"
end
destination() click to toggle source
# File lib/rspec_api_documentation/dsl/callback.rb, line 18
def destination
  @destination ||= RspecApiDocumentation::TestServer.new(RSpec.current_example)
end