class ApiBlueprint::Struct

Public Class Methods

new(attributes = default_attributes) click to toggle source
Calls superclass method
# File lib/api-blueprint/struct.rb, line 9
def self.new(attributes = default_attributes)
  if respond_to?(:config) && config.replacements
    attributes = KeyReplacer.replace(attributes, config.replacements)
  end

  super
end