Sha256: 17f87979627b1165b225bcac3fff549a8a265cc5a104fd96807e240e4e4cb0ef

Contents?: true

Size: 380 Bytes

Versions: 5

Compression:

Stored size: 380 Bytes

Contents

module Api
  module V1
    class TemplateKindsController < V1::BaseController

      api :GET, "/template_kinds/", "List all template kinds."
      param :page, String, :desc => "paginate results"
      param :per_page, String, :desc => "number of entries per request"

      def index
        @template_kinds = TemplateKind.paginate(paginate_options)
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
foreman_discovery-1.0.0 test/foreman_app/app/controllers/api/v1/template_kinds_controller.rb
foreman_discovery-1.0.0.rc4 test/foreman_app/app/controllers/api/v1/template_kinds_controller.rb
foreman_discovery-1.0.0.rc3 test/foreman_app/app/controllers/api/v1/template_kinds_controller.rb
foreman_discovery-1.0.0.rc2 test/foreman_app/app/controllers/api/v1/template_kinds_controller.rb
foreman_discovery-1.0.0.rc1 test/foreman_app/app/controllers/api/v1/template_kinds_controller.rb