Module: Dradis::Plugins::ContentService::Core
- Extended by:
 - ActiveSupport::Concern
 
- Included in:
 - Base
 
- Defined in:
 - lib/dradis/plugins/content_service/core.rb
 
Instance Method Summary collapse
Instance Method Details
#initialize(args = {}) ⇒ Object
      14 15 16 17 18 19 20  | 
    
      # File 'lib/dradis/plugins/content_service/core.rb', line 14 def initialize(args={}) @logger = args.fetch(:logger, Rails.logger) @plugin = args.fetch(:plugin) @project = args[:project] @scope = validate_scope(args[:scope]).to_sym @state = args[:state] end  |