lib/daylight/resource_proxy.rb
##
# Adds scopes to the current parameters
Adds scopes to the current parameters
Adds scopes to the current parameters
def append_scope scope
    spawn.tap do |proxy|
      proxy.current_params[:scopes] ||= []
      proxy.current_params[:scopes] << scope
      proxy.current_params[:scopes].uniq!
    end
  end
def append_scope scope spawn . tap do | proxy | proxy . current_params [ :scopes ] ||= [ ] proxy . current_params [ :scopes ] << scope proxy . current_params [ :scopes ] . uniq! end end
Adds scopes to the current parameters
Adds scopes to the current parameters
scope
<not_specific>