funbox / tomogram_routing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Absorbed https://github.com/funbox/tomograph

TomogramRouting

From json file with the structure Tomogram api creates an object and adding methods to fast search requests and responses with json-schemes.

Install

gem 'tomogram_routing'
require 'tomogram_routing'

Using

tomogram = TomogramRouting::Tomogram.craft(tomogram.json)

find_request

expect_request = tomogram.find_request(method:, path:)

find_find_responses

expect_responses = expect_request.find_responses(status:)

About

License:MIT License


Languages

Language:Ruby 98.2%Language:Shell 1.8%