Skip to content
This repository has been archived by the owner on Dec 11, 2020. It is now read-only.

APItools/apitools-middleware

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Apitools::Middleware Build Status

Ruby Library for working with APItools Middleware. Validating, testing, ... Collection of middleware can be found in https://github.com/APItools/middleware

Installation

Add this line to your application's Gemfile:

gem 'apitools-middleware'

And then execute:

$ bundle

Or install it yourself as:

$ gem install apitools-middleware

Usage

repository = Apitools::Middleware::LocalRepository.new
repository.middleware.each do |middleware|
  puts "Middleware #{middleware.name} is invalid" unless middleware.valid?
end

Contributing

  1. Fork it ( https://github.com/APItools/apitools-middleware/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request