Class: Grape::Util::StrictHashConfiguration::SettingsContainer

Inherits:
Object
  • Object
show all
Defined in:
lib/grape/util/strict_hash_configuration.rb

Instance Method Summary collapse

Constructor Details

#initializeSettingsContainer



21
22
23
24
# File 'lib/grape/util/strict_hash_configuration.rb', line 21

def initialize
  @settings = {}
  @contexts = {}
end

Instance Method Details

#to_hashObject



26
27
28
# File 'lib/grape/util/strict_hash_configuration.rb', line 26

def to_hash
  @settings.to_hash
end