Sha256: 6a1e57618b4dfafd7af6510d788e3086d309e615333f6b12ff6363731f54998e

Contents?: true

Size: 287 Bytes

Versions: 42

Compression:

Stored size: 287 Bytes

Contents

module Locomotive
  module API
    module Resources

      class VersionResource < Grape::API

        resource :version do

          desc 'Show current engine version'
          get do
            { engine: Locomotive::VERSION }
          end
        end

      end

    end
  end
end

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
locomotivecms-4.2.0.alpha2 app/api/locomotive/api/resources/version_resource.rb
locomotivecms-4.2.0.alpha1 app/api/locomotive/api/resources/version_resource.rb
locomotivecms-4.1.1 app/api/locomotive/api/resources/version_resource.rb
locomotivecms-4.1.0 app/api/locomotive/api/resources/version_resource.rb
locomotivecms-4.1.0.rc1 app/api/locomotive/api/resources/version_resource.rb
locomotivecms-4.0.3 app/api/locomotive/api/resources/version_resource.rb
locomotivecms-4.0.2 app/api/locomotive/api/resources/version_resource.rb
locomotivecms-4.0.1 app/api/locomotive/api/resources/version_resource.rb
locomotivecms-4.0.0 app/api/locomotive/api/resources/version_resource.rb
locomotivecms-4.0.0.rc0 app/api/locomotive/api/resources/version_resource.rb
locomotivecms-4.0.0.alpha3 app/api/locomotive/api/resources/version_resource.rb
locomotivecms-3.4.1 app/api/locomotive/api/resources/version_resource.rb
locomotivecms-4.0.0.alpha2 app/api/locomotive/api/resources/version_resource.rb
locomotivecms-4.0.0.alpha1 app/api/locomotive/api/resources/version_resource.rb
locomotivecms-3.4.0 app/api/locomotive/api/resources/version_resource.rb
locomotivecms-3.3.0 app/api/locomotive/api/resources/version_resource.rb
locomotivecms-3.3.0.rc3 app/api/locomotive/api/resources/version_resource.rb
locomotivecms-3.3.0.rc2 app/api/locomotive/api/resources/version_resource.rb
locomotivecms-3.1.2 app/api/locomotive/api/resources/version_resource.rb
locomotivecms-3.2.1 app/api/locomotive/api/resources/version_resource.rb