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.10.0 config.ru
jsonapionify-0.9.3 config.ru
jsonapionify-0.9.2 config.ru
jsonapionify-0.9.1 config.ru
jsonapionify-0.9.0 config.ru