module MiniApivore::ClassMethods

Public Instance Methods

init_swagger( swagger_path, schema= '' ) click to toggle source
# File lib/mini_apivore.rb, line 38
def init_swagger( swagger_path, schema= '' )
  SWAGGER_CHECKERS[self] ||= MiniApivore::SwaggerChecker.instance_for(swagger_path, schema)
end
runnable_methods() click to toggle source
Calls superclass method
# File lib/mini_apivore.rb, line 42
def runnable_methods
  super | ['final_test']
end
swagger_checker() click to toggle source
# File lib/mini_apivore.rb, line 50
def swagger_checker;
  SWAGGER_CHECKERS[self]
end
test(name, &block ) click to toggle source
Calls superclass method
# File lib/mini_apivore.rb, line 46
def test(name, &block )
  super( name, &block ).tap{ |sym| MiniApivore.runnable_list << "#{to_s}::#{sym}" }
end