Module: Protobuf::ActiveRecord::Transformation

Extended by:
ActiveSupport::Concern
Defined in:
lib/protobuf/active_record/transformation.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#attributes_from_proto(proto) ⇒ Object

Calls up to the class version of the method.



178
179
180
# File 'lib/protobuf/active_record/transformation.rb', line 178

def attributes_from_proto(proto)
  self.class.attributes_from_proto(proto)
end