Sha256: 66947fc3e81b5a3d5fd77b5bd66336cb3aead0fd80618cbfefb39b68391c2ca9
Contents?: true
Size: 271 Bytes
Versions: 3
Compression:
Stored size: 271 Bytes
Contents
module Afipws class WSError < StandardError attr_reader :errors def initialize errors if errors.is_a? Array super errors.map { |e| "#{e[:code]}: #{e[:msg]}" }.join '; ' @errors = errors else super end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
afipws-1.2.0 | lib/afipws/excepciones.rb |
afipws-1.1.0 | lib/afipws/excepciones.rb |
afipws-1.0.4 | lib/afipws/excepciones.rb |