module OpenapiFirst::Utils

Public Class Methods

classify(string) click to toggle source
# File lib/openapi_first/utils.rb, line 17
def self.classify(string)
  Hanami::Utils::String.classify(string)
end
deep_merge!(dest, source) click to toggle source
# File lib/openapi_first/utils.rb, line 9
def self.deep_merge!(dest, source)
  DeepMerge.deep_merge!(source, dest)
end
deep_stringify(hash) click to toggle source
# File lib/openapi_first/utils.rb, line 25
def self.deep_stringify(hash)
  Hanami::Utils::Hash.deep_stringify(hash)
end
deep_symbolize(hash) click to toggle source
# File lib/openapi_first/utils.rb, line 21
def self.deep_symbolize(hash)
  Hanami::Utils::Hash.deep_symbolize(hash)
end
underscore(string) click to toggle source
# File lib/openapi_first/utils.rb, line 13
def self.underscore(string)
  Hanami::Utils::String.underscore(string)
end