Class: RussianPost::Barcode::Invalid

Inherits:
Base
  • Object
show all
Defined in:
lib/russianpost/barcode/invalid.rb

Instance Attribute Summary

Attributes inherited from Base

#barcode, #digits

Instance Method Summary collapse

Methods inherited from Base

format, #initialize, #to_s

Constructor Details

This class inherits a constructor from RussianPost::Barcode::Base

Instance Method Details

#valid?Boolean

Returns:

  • (Boolean)


6
7
8
# File 'lib/russianpost/barcode/invalid.rb', line 6

def valid?
  false
end