Class: Macaroons::BaseSerializer

Inherits:
Object
  • Object
show all
Defined in:
lib/macaroons/serializers/base.rb

Direct Known Subclasses

BinarySerializer

Instance Method Summary collapse

Instance Method Details

#deserialize(serialized) ⇒ Object

Raises:

  • (NotImplementedError)


8
9
10
# File 'lib/macaroons/serializers/base.rb', line 8

def deserialize(serialized)
  raise NotImplementedError
end

#serialize(macaroon) ⇒ Object

Raises:

  • (NotImplementedError)


4
5
6
# File 'lib/macaroons/serializers/base.rb', line 4

def serialize(macaroon)
  raise NotImplementedError
end