Module: ISFSObject

Included in:
Hash
Defined in:
lib/smartfox_jruby/common.rb

Instance Method Summary collapse

Instance Method Details

#to_hashObject



14
15
16
# File 'lib/smartfox_jruby/common.rb', line 14

def to_hash
  HashWithIndifferentAccess.new(JSON.parse(to_json))
end

#to_sObject



18
19
20
# File 'lib/smartfox_jruby/common.rb', line 18

def to_s
  to_json
end