Class: Doorkeeper::SelectedDoorkeeperFor

Inherits:
DoorkeeperFor show all
Defined in:
lib/doorkeeper/doorkeeper_for.rb

Instance Attribute Summary

Attributes inherited from DoorkeeperFor

#scopes

Instance Method Summary collapse

Methods inherited from DoorkeeperFor

#filter_options

Constructor Details

#initialize(*args) ⇒ SelectedDoorkeeperFor

Returns a new instance of SelectedDoorkeeperFor.



44
45
46
47
48
# File 'lib/doorkeeper/doorkeeper_for.rb', line 44

def initialize(*args)
  options = args.pop if args.last.is_a? Hash
  super(options)
  only(args)
end