Module: Rails::RFC6570::ControllerExtension

Defined in:
lib/rails/rfc6570.rb

Instance Method Summary collapse

Instance Method Details

#rfc6570_defsObject



118
119
120
# File 'lib/rails/rfc6570.rb', line 118

def rfc6570_defs
  @rfc6570_defs ||= {}
end

#rfc6570_params(defs) ⇒ Object



122
123
124
# File 'lib/rails/rfc6570.rb', line 122

def rfc6570_params(defs)
  rfc6570_defs.merge! defs
end

#rfc6570_params_for(defs) ⇒ Object



126
127
128
# File 'lib/rails/rfc6570.rb', line 126

def rfc6570_params_for(defs)
  rfc6570_defs[defs]
end