Class: Simbiotes::Parse

Inherits:
Object
  • Object
show all
Defined in:
lib/simbiotes/parse.rb

Class Method Summary collapse

Class Method Details

.config(string) ⇒ Object



12
13
14
# File 'lib/simbiotes/parse.rb', line 12

def self.config(string)
  JSON.parse(string)
end

.message(string) ⇒ Object



8
9
10
# File 'lib/simbiotes/parse.rb', line 8

def self.message(string)
  JSON.parse(string)
end

.portal(string) ⇒ Object



16
17
18
# File 'lib/simbiotes/parse.rb', line 16

def self.portal(string)
  JSON.parse(string)
end