Sha256: 0cc0482ec61a0f36bb419b82e90b58682b0ac5f1c78e61dfcb2f554aba22bdc3
Contents?: true
Size: 501 Bytes
Versions: 1
Compression:
Stored size: 501 Bytes
Contents
#encoding: UTF-8 module REST class API < Grape::API ### defaults begin ### exclude array exclude_list = [ self ] end ### mount components begin Grape::API.classes.each do |component| if !exclude_list.include? component begin if component.class == Class mount component else mount component.constantize end end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
clone-1.0.0.beta | samples/grape/init/lib/grape/xpath/app.rb |