Exception: Protobuf::Mongoid::FieldTransformerError

Inherits:
ProtobufMongoidError show all
Defined in:
lib/protobuf/mongoid/errors.rb

Overview

Raised by ‘field_from_document` when the convert method given not callable.

Instance Method Summary collapse

Instance Method Details

#messageObject



20
21
22
# File 'lib/protobuf/mongoid/errors.rb', line 20

def message
  "Field transformers must be called with a callable or block!"
end