Sha256: 5f767533e6f6db5132e716f44db1482e9c67847d69879252bec8f190d30bfa88

Contents?: true

Size: 822 Bytes

Versions: 6

Compression:

Stored size: 822 Bytes

Contents

module Api
  module V2
    class Nested::ArchitecturesController < V2::BaseController
      resource_description { name 'Architectures' }
      api :GET, "/nested/architectures/", "List all nested architectures."
      def index
      end

      api :GET, "/nested/architectures/:id/", "Show a nested architecture."
      def show
      end

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

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

      api :DELETE, "/architecturess/:id/", "Delete a nested architecture."
      def destroy
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
apipie-rails-0.0.24 spec/dummy/app/controllers/api/v2/nested/architectures_controller.rb
apipie-rails-0.0.23 spec/dummy/app/controllers/api/v2/nested/architectures_controller.rb
jmoses_apipie-rails-0.0.23 spec/dummy/app/controllers/api/v2/nested/architectures_controller.rb
apipie-rails-0.0.22 spec/dummy/app/controllers/api/v2/nested/architectures_controller.rb
apipie-rails-0.0.21 spec/dummy/app/controllers/api/v2/nested/architectures_controller.rb
apipie-rails-0.0.20 spec/dummy/app/controllers/api/v2/nested/architectures_controller.rb