Studitemps::Utils::URI::Builder

Parsed documentation:
View on GitHub
Adds type checks to initializer arguments.
`schema` and `context` values are checked and `resource` and `id` are checked against a possible list of
values (enum if URI builder is provided with an array as the argument).

@example
  require 'studitemps/utils/uri/extensions/types'
  InvoiceURI = Studitemps::Utils::URI.build(
    schema: 'com.example', context: 'billing', resource: 'invoice', id: %w[final past_due]
  )

  InvoiceURI.new(id: 'final') # => #<InvoiceURI 'com.example:billing:invoice:final'>
  InvoiceURI.new(id: 'pro_forma') # => Dry::Types::ConstraintError

@since 0.2.0
No suggestions.
Please help! Open an issue on GitHub if this assessment is incorrect.