class Blix::Rest::RawJsonString

interpret payload string as json

Public Class Methods

new(str) click to toggle source
# File lib/blix/rest.rb, line 71
def initialize(str)
  @str = str
end

Public Instance Methods

as_json(*_a) click to toggle source
# File lib/blix/rest.rb, line 75
def as_json(*_a)
  @str
end
to_json(*a) click to toggle source
# File lib/blix/rest.rb, line 79
def to_json(*a)
  as_json.to_json(*a)
end