lib/bic_validation/bic.rb in bic_validation-0.2.0 vs lib/bic_validation/bic.rb in bic_validation-0.2.1
- old
+ new
@@ -1,8 +1,9 @@
require 'active_support/core_ext/object/try'
module BicValidation
class Bic
+ attr_accessor :code
def initialize(code)
@code = code.to_s.strip.upcase
end