module RapidApi::Auth::Concerns::SessionsController::ClassMethods
Attributes
auth_params[RW]
auth_proc[RW]
responds_with_proc[RW]
Public Instance Methods
authenticates_with(*params, &block)
click to toggle source
# File lib/rapid_api/auth/concerns/sessions_controller.rb, line 36 def authenticates_with(*params, &block) define_method :_authenticate, &block [*params].each { |p| self.auth_params << p } end
responds_with(&block)
click to toggle source
# File lib/rapid_api/auth/concerns/sessions_controller.rb, line 41 def responds_with(&block) define_method :_authentication_response_json, &block end