Sha256: 7795ee7058568330d0793e2092d3df8bfd234fa54ed61b9b02db5cc24da26147

Contents?: true

Size: 311 Bytes

Versions: 8

Compression:

Stored size: 311 Bytes

Contents

class ApplicationController < ActionController::Base
  before_filter :run_validations
  
  resource_description do
    param :oauth, String, :desc => "Authorization", :required => false
  end

  def run_validations
    if Apipie.configuration.validate == :explicitly
      apipie_validations
    end
  end

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
apipie-rails-0.3.7 spec/dummy/app/controllers/application_controller.rb
apipie-rails-0.3.6 spec/dummy/app/controllers/application_controller.rb
apipie-rails-0.3.5 spec/dummy/app/controllers/application_controller.rb
apipie-rails-0.3.4 spec/dummy/app/controllers/application_controller.rb
apipie-rails-0.3.3 spec/dummy/app/controllers/application_controller.rb
apipie-rails-0.3.2 spec/dummy/app/controllers/application_controller.rb
apipie-rails-0.3.1 spec/dummy/app/controllers/application_controller.rb
apipie-rails-0.3.0 spec/dummy/app/controllers/application_controller.rb