struct Crowbar::ScopeConfig

Overview

Serializable configuration for a scoped target region

Included Modules

Defined in:

crowbar/session.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, selector_type : String, params : Hash(String, String) = Hash(String, String).new, weight : Float64 = 1.0) #

def self.new(pull : JSON::PullParser) #

def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

Instance Method Detail

def name : String #

def name=(name : String) #

def params : Hash(String, String) #

def params=(params : Hash(String, String)) #

def selector_type : String #

def selector_type=(selector_type : String) #

def weight : Float64 #

def weight=(weight : Float64) #