Class: Blix::Rest::RawJsonString

Inherits:
String
  • Object
show all
Defined in:
lib/blix/rest.rb

Overview

interpret payload string as json

Instance Method Summary collapse

Methods inherited from String

#normalize, #to_ascii

Instance Method Details

#as_json(*_a) ⇒ Object



86
87
88
# File 'lib/blix/rest.rb', line 86

def as_json(*_a)
  self
end

#to_json(*a) ⇒ Object



90
91
92
# File 'lib/blix/rest.rb', line 90

def to_json(*a)
  as_json.to_json(*a)
end