Class: MaponClient::Parsers::ObjectParser

Inherits:
EmptyParser
  • Object
show all
Defined in:
lib/mapon_client/parsers/object_parser.rb

Instance Method Summary collapse

Methods inherited from EmptyParser

#initialize

Constructor Details

This class inherits a constructor from MaponClient::Parsers::EmptyParser

Instance Method Details

#parseObject



7
8
9
# File 'lib/mapon_client/parsers/object_parser.rb', line 7

def parse
  JSON.parse(@data, object_class: OpenStruct)
end