Sha256: 82949a18158014d4b3427e68e97f6304545ca454b033e6330a0798462b859bfe
Contents?: true
Size: 429 Bytes
Versions: 557
Compression:
Stored size: 429 Bytes
Contents
# frozen_string_literal: true module Files class Errors attr_reader :options, :attributes def initialize(attributes = {}, options = {}) @attributes = attributes || {} @options = options || {} end # array - A list of fields where errors occur def fields @attributes[:fields] end # array - A list of error messages def messages @attributes[:messages] end end end
Version data entries
557 entries across 557 versions & 1 rubygems