Exception: Meibo::MissingHeaderFieldsError

Inherits:
Error
  • Object
show all
Defined in:
lib/meibo/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message = nil, missing_header_fields:) ⇒ MissingHeaderFieldsError

Returns a new instance of MissingHeaderFieldsError.



13
14
15
16
# File 'lib/meibo/errors.rb', line 13

def initialize(message = nil, missing_header_fields:)
  super(message)
  @missing_header_fields = missing_header_fields
end

Instance Attribute Details

#missing_header_fieldsObject (readonly)

Returns the value of attribute missing_header_fields.



11
12
13
# File 'lib/meibo/errors.rb', line 11

def missing_header_fields
  @missing_header_fields
end