Method: Explicit::Type::Record#path_params_type
- Defined in:
- lib/explicit/type/record.rb
#path_params_type ⇒ Object
38 39 40 41 42 43 44 |
# File 'lib/explicit/type/record.rb', line 38 def path_params_type path_params = @attributes.filter do |name, type| type.param_location_path? end self.class.new(attributes: path_params) end |