module RapidApi::ActionController::Scope
Attributes
scope[RW]
Public Instance Methods
define_scope()
click to toggle source
# File lib/rapid_api/action_controller/scope.rb, line 13 def define_scope tmp_scope_array = [*_scope_array] self.class.scope_params.each_with_index do |key, index| scope[key] = tmp_scope_array[index] end end
Protected Instance Methods
_scope_array()
click to toggle source
# File lib/rapid_api/action_controller/scope.rb, line 22 def _scope_array [] end