Class: Doorkeeper::SelectedDoorkeeperFor

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

Instance Method Summary collapse

Methods inherited from DoorkeeperFor

#filter_options, #validate_token

Constructor Details

#initialize(*args) ⇒ SelectedDoorkeeperFor

Returns a new instance of SelectedDoorkeeperFor.



52
53
54
55
56
# File 'lib/doorkeeper/doorkeeper_for.rb', line 52

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