Class: Hutch::Serializers::Identity

Inherits:
Object
  • Object
show all
Defined in:
lib/hutch/serializers/identity.rb

Class Method Summary collapse

Class Method Details

.binary?Boolean

Returns:

  • (Boolean)


13
# File 'lib/hutch/serializers/identity.rb', line 13

def self.binary? ; false ; end

.content_typeObject



15
# File 'lib/hutch/serializers/identity.rb', line 15

def self.content_type ; nil ; end

.decode(payload) ⇒ Object



9
10
11
# File 'lib/hutch/serializers/identity.rb', line 9

def self.decode(payload)
  payload
end

.encode(payload) ⇒ Object



5
6
7
# File 'lib/hutch/serializers/identity.rb', line 5

def self.encode(payload)
  payload
end