Class: Workato::Connector::Sdk::CsvFileTooBigError
- Extended by:
- T::Sig
- Defined in:
- lib/workato/connector/sdk/dsl/csv_package.rb
Instance Attribute Summary collapse
- #max ⇒ Integer readonly
- #size ⇒ Integer readonly
Instance Method Summary collapse
- #initialize(size, max) ⇒ void constructor
Constructor Details
#initialize(size, max) ⇒ void
23 24 25 26 27 |
# File 'lib/workato/connector/sdk/dsl/csv_package.rb', line 23 def initialize(size, max) super("CSV file is too big. Max allowed: #{max.to_s(:human_size)}, got: #{size.to_s(:human_size)}") @size = T.let(size, Integer) @max = T.let(max, Integer) end |
Instance Attribute Details
#max ⇒ Integer (readonly)
20 21 22 |
# File 'lib/workato/connector/sdk/dsl/csv_package.rb', line 20 def max @max end |
#size ⇒ Integer (readonly)
17 18 19 |
# File 'lib/workato/connector/sdk/dsl/csv_package.rb', line 17 def size @size end |