Sha256: 68bae7232b9308e96030d53d8793b2173f75045b74d04667cf8c6415b2b42f69
Contents?: true
Size: 894 Bytes
Versions: 26
Compression:
Stored size: 894 Bytes
Contents
$lib = File.expand_path('../lib', File.dirname(__FILE__)) require "Models/Review" require "Models/Processor" require "Helper" require "ZLogger" # Add to config.yml: # # processors: # - ProcessorTemplate: # class: "ProcessorTemplate" # parameter1: "value" # parameter2: "value" # parameter3: "value" # ... # class ProcessorTemplate < Processor def initialize(config, configFilePath, baseExecutePath) # init Processor # get paraemter from config e.g. config["parameter1"] # configFilePath: file path of config file (apple.yml/android.yml) # baseExecutePath: user excute path end def processReviews(reviews, platform) if reviews.length < 1 return reviews end ## do what your want to do with reviews... ## return result reviews return reviews end end
Version data entries
26 entries across 26 versions & 1 rubygems