Class: Leadspend::Parser::RailsParser
- Inherits:
-
Object
- Object
- Leadspend::Parser::RailsParser
- Defined in:
- lib/leadspend/parser/rails_parser.rb
Class Method Summary collapse
Class Method Details
.decode(string) ⇒ Object
8 9 10 |
# File 'lib/leadspend/parser/rails_parser.rb', line 8 def self.decode(string) ActiveSupport::JSON.decode(string) end |
.encode(object) ⇒ Object
5 6 7 |
# File 'lib/leadspend/parser/rails_parser.rb', line 5 def self.encode(object) ActiveSupport::JSON.encode(object) end |