Sha256: c4a39a0e7386e58eca02a4ea93b7059c675fbb73a6bb0aa07417b394adcfcb7f
Contents?: true
Size: 411 Bytes
Versions: 35
Compression:
Stored size: 411 Bytes
Contents
class ApplicationController < ActionController::Base before_action :run_validations resource_description do param :oauth, String, :desc => "Authorization", :required => false returns :code => 401 do property :reason, String, "Why authorization was denied" end end def run_validations if Apipie.configuration.validate == :explicitly apipie_validations end end end
Version data entries
35 entries across 35 versions & 1 rubygems