# qa **Repository Path**: zhongsheng/qa ## Basic Information - **Project Name**: qa - **Description**: No description available - **Primary Language**: JavaScript - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-12-02 - **Last Updated**: 2021-12-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Qa Question && Answer && Project Management ## Usage How to use my plugin. ## Installation Add this line to your application's Gemfile: ```ruby gem 'qa' ``` And then execute: ```bash $ bundle ``` ``` ruby Rails.application.routes.draw do mount Usefultag::Engine => "/qa" end ``` ## Config ``` ruby # APP Home url Qa.main_app_path = '/test/hi' # Inheritate from # default is ::ApplicationController Qa.main_controller = '::AuthBaseController' # When task finished will trigger this event ActiveSupport::Notifications.subscribe "qa.task.done" do |*args| data = args.extract_options! data[:url] # => http://xxxx/task data[:task] # => Qa::Task record object data[:task].user # => User record object end ``` ### All Events - qa.task.done - qa.task.created ## Contributing Contribution directions go here. ## License The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).