Class: ImpExp::Serializers::Errors::WrongFormat
- Defined in:
- app/services/imp_exp/serializers/errors/wrong_format.rb
Instance Attribute Summary collapse
-
#raw_message ⇒ Object
readonly
Returns the value of attribute raw_message.
Instance Method Summary collapse
-
#initialize(raw_message = nil) ⇒ WrongFormat
constructor
A new instance of WrongFormat.
- #message ⇒ Object
Constructor Details
#initialize(raw_message = nil) ⇒ WrongFormat
Returns a new instance of WrongFormat.
9 10 11 12 |
# File 'app/services/imp_exp/serializers/errors/wrong_format.rb', line 9 def initialize( = nil) super() @raw_message = end |
Instance Attribute Details
#raw_message ⇒ Object (readonly)
Returns the value of attribute raw_message.
7 8 9 |
# File 'app/services/imp_exp/serializers/errors/wrong_format.rb', line 7 def @raw_message end |
Instance Method Details
#message ⇒ Object
14 15 16 |
# File 'app/services/imp_exp/serializers/errors/wrong_format.rb', line 14 def I18n.t('imp_exp.importer.wrong_format', message: ) end |