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

Version Path
apipie-rails-1.4.2 spec/dummy/app/controllers/tagged_dogs_controller.rb
apipie-rails-1.4.1 spec/dummy/app/controllers/tagged_dogs_controller.rb
apipie-rails-1.4.0 spec/dummy/app/controllers/tagged_dogs_controller.rb
apipie-rails-1.3.0 spec/dummy/app/controllers/tagged_dogs_controller.rb
apipie-rails-1.2.3 spec/dummy/app/controllers/tagged_dogs_controller.rb
apipie-rails-1.2.2 spec/dummy/app/controllers/tagged_dogs_controller.rb
apipie-rails-1.2.1 spec/dummy/app/controllers/tagged_dogs_controller.rb
apipie-rails-1.2.0 spec/dummy/app/controllers/tagged_dogs_controller.rb
apipie-rails-1.1.0 spec/dummy/app/controllers/tagged_dogs_controller.rb
apipie-rails-1.0.0 spec/dummy/app/controllers/tagged_dogs_controller.rb
apipie-rails-0.9.4 spec/dummy/app/controllers/tagged_dogs_controller.rb
apipie-rails-0.9.3 spec/dummy/app/controllers/tagged_dogs_controller.rb
apipie-rails-0.9.2 spec/dummy/app/controllers/tagged_dogs_controller.rb
apipie-rails-0.9.1 spec/dummy/app/controllers/tagged_dogs_controller.rb
apipie-rails-0.9.0 spec/dummy/app/controllers/tagged_dogs_controller.rb
apipie-rails-0.8.2 spec/dummy/app/controllers/tagged_dogs_controller.rb
apipie-rails-0.8.1 spec/dummy/app/controllers/tagged_dogs_controller.rb
apipie-rails-0.8.0 spec/dummy/app/controllers/tagged_dogs_controller.rb
apipie-rails-0.7.2 spec/dummy/app/controllers/tagged_dogs_controller.rb
apipie-rails-0.7.1 spec/dummy/app/controllers/tagged_dogs_controller.rb