Module: Dry::Types::Options
- Defined in:
- lib/fortnox/api/types.rb
Instance Method Summary collapse
Instance Method Details
#is(*option_names) ⇒ Object
11 12 13 14 15 16 |
# File 'lib/fortnox/api/types.rb', line 11 def is(*option_names) = option_names.each_with_object({}) do |name, hash| hash[name] = true end with(**) end |