Class: FakeAPI::App

Inherits:
Sinatra::Base
  • Object
show all
Defined in:
lib/fakeapi/app.rb

Class Method Summary collapse

Class Method Details

.test(method_name, &call_block) ⇒ Object



5
6
7
# File 'lib/fakeapi/app.rb', line 5

def self.test(method_name, &call_block)
  TestRun.new(self, method_name, call_block).run
end