Sha256: d6f9ede5791765f6b9567137c17c55fe8900e075a4ad083fd96d29b3ca02f1a5

Contents?: true

Size: 340 Bytes

Versions: 8

Compression:

Stored size: 340 Bytes

Contents

module Api
  module V2
    class BaseController < Api::BaseController
      resource_description do
        api_version '2.0'
        app_info 'Version 2.0 description'
        api_base_url '/api/v2'

        name :reversed_name
      end

      def self.reversed_name
        controller_name.capitalize.reverse
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
apipie-rails-1.4.2 spec/dummy/app/controllers/api/v2/base_controller.rb
apipie-rails-1.4.1 spec/dummy/app/controllers/api/v2/base_controller.rb
apipie-rails-1.4.0 spec/dummy/app/controllers/api/v2/base_controller.rb
apipie-rails-1.3.0 spec/dummy/app/controllers/api/v2/base_controller.rb
apipie-rails-1.2.3 spec/dummy/app/controllers/api/v2/base_controller.rb
apipie-rails-1.2.2 spec/dummy/app/controllers/api/v2/base_controller.rb
apipie-rails-1.2.1 spec/dummy/app/controllers/api/v2/base_controller.rb
apipie-rails-1.2.0 spec/dummy/app/controllers/api/v2/base_controller.rb