Class: Grape::Kong::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/grape/kong/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



7
8
9
# File 'lib/grape/kong/configuration.rb', line 7

def initialize
  @resource_owner_finder = ->(value) { ::User.where(id: value).first }
end

Instance Attribute Details

#resource_owner_finderObject

Returns the value of attribute resource_owner_finder.



5
6
7
# File 'lib/grape/kong/configuration.rb', line 5

def resource_owner_finder
  @resource_owner_finder
end