Module: Representable::Hash::ObjectBinding

Includes:
Binding::Object
Defined in:
lib/representable/bindings/hash_bindings.rb

Instance Method Summary collapse

Methods included from Binding::Object

#create_object, #deserialize, #serialize

Methods included from Binding::Extend

#deserialize, #extend_for, #serialize

Instance Method Details

#deserialize_methodObject



12
13
14
# File 'lib/representable/bindings/hash_bindings.rb', line 12

def deserialize_method
  :from_hash
end

#serialize_methodObject



8
9
10
# File 'lib/representable/bindings/hash_bindings.rb', line 8

def serialize_method
  :to_hash
end