Class: ApiBlueprint::Struct
- Inherits:
-
Dry::Struct
- Object
- Dry::Struct
- ApiBlueprint::Struct
- Defined in:
- lib/api-blueprint/struct.rb
Class Method Summary collapse
Class Method Details
.new(attributes = default_attributes) ⇒ Object
9 10 11 12 13 14 15 |
# 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 |