Sha256: 5836a638d2dd4dfd534a3947c010e16485bc6b6328cb319fde0786f709f39223

Contents?: true

Size: 452 Bytes

Versions: 6

Compression:

Stored size: 452 Bytes

Contents

module Pmux
  module LogView
    class Model
      def initialize cache_dir_path
	@log_parser = LogParser.new(cache_dir_path)
      end 

      def get_log_job user, data
	return @log_parser.parse_log_job(user, data)
      end

      def get_log_job_detail user, job_id
	return @log_parser.parse_log_job_detail(user, job_id)
      end

      def get_log_dispatcher user
        return @log_parser.parse_log_dispatcher(user)
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
pmux-logview-0.3.4 lib/pmux-logview/model.rb
pmux-logview-0.3.3 lib/pmux-logview/model.rb
pmux-logview-0.3.2 lib/pmux-logview/model.rb
pmux-logview-0.3.1 lib/pmux-logview/model.rb
pmux-logview-0.3.0 lib/pmux-logview/model.rb
pmux-logview-0.2.2 lib/pmux-logview/model.rb