Module: Fortnox::API::Types::Sized::Integer
- Defined in:
- lib/fortnox/api/types/sized.rb
Class Method Summary collapse
Class Method Details
.[](low, high) ⇒ Object
16 17 18 19 20 |
# File 'lib/fortnox/api/types/sized.rb', line 16 def self.[](low, high) Types::Strict::Integer.constrained(gteq: low, lteq: high).optional.constructor do |value| value&.to_i end end |