Sha256: 1143a3f9bed94e7933084e8d3abceef3d9d99a2af32ee121a1125b1dc904cf0c
Contents?: true
Size: 606 Bytes
Versions: 2
Compression:
Stored size: 606 Bytes
Contents
require 'grape' require 'grape-apiary/version' require 'grape-apiary/config' require 'grape-apiary/parameter' require 'grape-apiary/sample_generator' require 'grape-apiary/route' require 'grape-apiary/resource' require 'grape-apiary/blueprint' module GrapeApiary module_function def config block_given? ? yield(Config) : Config end end class UnsupportedIDType < StandardError def message 'Unsupported id type, supported types are [integer, uuid, bson]' end end class BSONNotDefinied < StandardError def message 'BSON type id requested but bson library is not present' end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
grape-apiary-0.0.4 | lib/grape-apiary.rb |
grape-apiary-0.0.3 | lib/grape-apiary.rb |