lib/introspective_grape.rb in introspective_grape-0.4.0 vs lib/introspective_grape.rb in introspective_grape-0.4.1

- old
+ new

@@ -1,8 +1,10 @@ +require 'introspective_grape/configuration' module IntrospectiveGrape autoload :API, 'introspective_grape/api' autoload :CamelSnake, 'introspective_grape/camel_snake' + autoload :Configure, 'introspective_grape/configuration' autoload :CreateHelpers, 'introspective_grape/create_helpers' autoload :Doc, 'introspective_grape/doc' autoload :Filters, 'introspective_grape/filters' autoload :Helpers, 'introspective_grape/helpers' autoload :SnakeParams, 'introspective_grape/snake_params' @@ -11,8 +13,8 @@ module Formatter autoload :CamelJson, 'introspective_grape/formatter/camel_json' end def self.config - @config = OpenStruct.new(camelize_parameters: true, skip_object_reload: false) + @config ||= Configuration.new end end