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