Sha256: bbbbe6a96cfe4bd718f259d518a538b07b2fb0c1da4d928b8d1c7cbaf09ada39
Contents?: true
Size: 884 Bytes
Versions: 64
Compression:
Stored size: 884 Bytes
Contents
module Api module V2 module Nested class 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 end
Version data entries
64 entries across 64 versions & 2 rubygems