Sha256: 89b5715cfcece4f56004f648e2ee7d5375dcf4684a72c8d1761ed2ca959a85ed

Contents?: true

Size: 194 Bytes

Versions: 3

Compression:

Stored size: 194 Bytes

Contents

class JsonImporter
  
  attr_accessor :result, :type
  
  def initialize(type)
    @type = type
    @result = {}
  end
  
  def import(json_text)
    @result = JSON.parse(json_text)
  end
  
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
myobie-turbine-core-0.1.0 lib/importers/json_importer.rb
myobie-turbine-core-0.1.1 lib/turbine-core/importers/json_importer.rb
myobie-turbine-core-0.2.0 lib/turbine-core/importers/json_importer.rb