Sha256: a8fa233385ab1fdeec4233cc29cc57001890a0174f8cc5233fbe064ed5dd193c

Contents?: true

Size: 822 Bytes

Versions: 63

Compression:

Stored size: 822 Bytes

Contents

module Api
  module V2
    class Nested::ResourcesController < V2::BaseController
      resource_description do 
        name 'Resources'
        resource_id "resource"
      end
      api :GET, "/nested/resources/", "List all nested resources."
      def index
      end

      api :GET, "/nested/resources/:id/", "Show a nested resource."
      def show
      end

      api :POST, "/nested/resources/", "Create a nested resource."
      param_group :arch, Api::V1::ArchitecturesController
      def create
      end

      api :PUT, "/nested/resources/:id/", "Update a nested resource."
      param :architecture, Hash, :required => true do
        param :name, String
      end
      def update
      end

      api :DELETE, "/resources/:id/", "Delete a nested resource."
      def destroy
      end
    end
  end
end

Version data entries

63 entries across 63 versions & 3 rubygems

Version Path
apipie-rails-1.1.0 spec/dummy/app/controllers/api/v2/nested/resources_controller.rb
apipie-rails-1.0.0 spec/dummy/app/controllers/api/v2/nested/resources_controller.rb
apipie-rails-0.9.4 spec/dummy/app/controllers/api/v2/nested/resources_controller.rb
apipie-rails-0.9.3 spec/dummy/app/controllers/api/v2/nested/resources_controller.rb
apipie-rails-0.9.2 spec/dummy/app/controllers/api/v2/nested/resources_controller.rb
apipie-rails-0.9.1 spec/dummy/app/controllers/api/v2/nested/resources_controller.rb
apipie-rails-0.9.0 spec/dummy/app/controllers/api/v2/nested/resources_controller.rb
apipie-rails-0.8.2 spec/dummy/app/controllers/api/v2/nested/resources_controller.rb
apipie-rails-0.8.1 spec/dummy/app/controllers/api/v2/nested/resources_controller.rb
apipie-rails-0.8.0 spec/dummy/app/controllers/api/v2/nested/resources_controller.rb
apipie-rails-0.7.2 spec/dummy/app/controllers/api/v2/nested/resources_controller.rb
apipie-rails-0.7.1 spec/dummy/app/controllers/api/v2/nested/resources_controller.rb
apipie-rails-0.7.0 spec/dummy/app/controllers/api/v2/nested/resources_controller.rb
apipie-rails-0.6.0 spec/dummy/app/controllers/api/v2/nested/resources_controller.rb
apipie-rails-0.5.20 spec/dummy/app/controllers/api/v2/nested/resources_controller.rb
apipie-rails-0.5.19 spec/dummy/app/controllers/api/v2/nested/resources_controller.rb
apipie-rails-0.5.18 spec/dummy/app/controllers/api/v2/nested/resources_controller.rb
apipie-rails-0.5.17 spec/dummy/app/controllers/api/v2/nested/resources_controller.rb
apipie-rails-0.5.16 spec/dummy/app/controllers/api/v2/nested/resources_controller.rb
apipierails3-0.0.1 spec/dummy/app/controllers/api/v2/nested/resources_controller.rb