class Queuel::Serialization::Json::Encoder
Public Class Methods
call(body)
click to toggle source
# File lib/queuel/serialization/json.rb, line 23 def self.call(body) new(body).encode end
new(body)
click to toggle source
# File lib/queuel/serialization/json.rb, line 27 def initialize(body) @body = body end
Public Instance Methods
encode()
click to toggle source
# File lib/queuel/serialization/json.rb, line 31 def encode MultiJson.dump @body end