Method: Betterdocs::Dsl::JsonParams::Param#initialize
- Defined in:
- lib/betterdocs/dsl/json_params/param.rb
#initialize(representer, name, options, &block) ⇒ Param
Returns a new instance of Param.
14 15 16 17 |
# File 'lib/betterdocs/dsl/json_params/param.rb', line 14 def initialize(representer, name, , &block) super types Betterdocs::Dsl::JsonTypeMapper.map_types(types) end |