class Grape::API
def configure
The configuration set here is accessible from inside an API with
API. If no block is given, returns the configuration hash.
configuration hash to the block which you can use to configure your
Configure an API from the outside. If a block is given, it'll pass a
def configure config = @base_instance.configuration if block_given? yield config self else config end end