Sha256: fe3fbb42d78254be7e2a92a9f5f4de4d6c4545bfdc80e3af14f46c30c5b08d4a
Contents?: true
Size: 455 Bytes
Versions: 3
Compression:
Stored size: 455 Bytes
Contents
module <%= app_name.classify %> module Modules class <%= underscored_module_name.classify %> < Grape::API include Grape::Transformations::Base target_model <%= "::#{target_model}" %> helpers do # Write your helpers here end define_endpoints do |entity| # Write your single endpoints here end resource <%= ":#{underscored_module_name}" %> do add_endpoints end end end end
Version data entries
3 entries across 3 versions & 1 rubygems