Sha256: 41b84e588abecb6899024c25a31b8755dd8b23049a7384c706267bf098f5b4e6

Contents?: true

Size: 336 Bytes

Versions: 25

Compression:

Stored size: 336 Bytes

Contents

require 'bundler/setup'
require 'rack'
require 'jsonapionify'
require 'navigable_hash'
require 'json'

api    = NavigableHash.new JSON.load File.read 'fixtures/documentation.json'
docs   = JSONAPIonify::Documentation.new(api)
result = docs.result

run ->(_) {
  response = Rack::Response.new
  response.write result
  response.finish
}

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
jsonapionify-0.12.10 config.ru
jsonapionify-0.12.9 config.ru
jsonapionify-0.12.8 config.ru
jsonapionify-0.12.7 config.ru
jsonapionify-0.12.5 config.ru
jsonapionify-0.12.4 config.ru
jsonapionify-0.12.3 config.ru
jsonapionify-0.12.2 config.ru
jsonapionify-0.12.1 config.ru
jsonapionify-0.12.0 config.ru
jsonapionify-0.11.11 config.ru
jsonapionify-0.11.10 config.ru
jsonapionify-0.11.9 config.ru
jsonapionify-0.11.8 config.ru
jsonapionify-0.11.7 config.ru
jsonapionify-0.11.6 config.ru
jsonapionify-0.11.5 config.ru
jsonapionify-0.11.0 config.ru
jsonapionify-0.10.2 config.ru
jsonapionify-0.10.1 config.ru