Sha256: 354d647ea66855fc3155d9a0d2136233f112e2557e663b4516d367d524f73752
Contents?: true
Size: 513 Bytes
Versions: 31
Compression:
Stored size: 513 Bytes
Contents
# # The TagsController defined here provides an example of a # tags call without a resource description. # class TaggedDogsController < ActionController::Base #----------------------------------------------------------- # simple 'returns' example: a method that returns a cat record #----------------------------------------------------------- api :GET, "/pets/:id/as_properties", "Get a dog record" tags(%w[Dogs Wolves]) def show_as_properties render :plain => "showing pet properties" end end
Version data entries
31 entries across 31 versions & 2 rubygems