Method: Grape::API.initial_setup
- Defined in:
- lib/grape/api.rb
.initial_setup(base_instance_parent) ⇒ Object
Initialize the instance variables on the remountable class, and the base_instance an instance that will be used to create the set up but will not be mounted
41 42 43 44 45 46 |
# File 'lib/grape/api.rb', line 41 def initial_setup(base_instance_parent) @instances = [] @setup = Set.new @base_parent = base_instance_parent @base_instance = mount_instance end |