Class: Transcriber::Resource::Serialization::String

Inherits:
Object
  • Object
show all
Defined in:
lib/transcriber/resource/serialization/string.rb

Class Method Summary collapse

Class Method Details

.serialize(value) ⇒ Object



5
6
7
# File 'lib/transcriber/resource/serialization/string.rb', line 5

def self.serialize(value)
  value.nil? ? nil : value.to_s
end