Sha256: 76e6b7d4faf1744912d61985f34ea66c535db832a2ff33aabc4758bea29750c8

Contents?: true

Size: 490 Bytes

Versions: 8

Compression:

Stored size: 490 Bytes

Contents

module Mihari
  class Rule < ActiveRecord::Base
    attr_accessor id(): String
    attr_accessor title(): String
    attr_accessor description(): String
    attr_accessor data(): Hash
    attr_accessor yaml(): String?

    def symbolized_data: () -> Hash

    def to_h: () -> Hash

    def self.search: (Mihari::Structs::Filters::Rule::SearchFilterWithPagination filter) -> Array[Mihari::Rule]

    def self.count: (Mihari::Structs::Filters::Rule::SearchFilter filter) -> Integer
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
mihari-4.12.0 sig/lib/mihari/models/rule.rbs
mihari-4.11.0 sig/lib/mihari/models/rule.rbs
mihari-4.10.0 sig/lib/mihari/models/rule.rbs
mihari-4.9.0 sig/lib/mihari/models/rule.rbs
mihari-4.8.0 sig/lib/mihari/models/rule.rbs
mihari-4.7.4 sig/lib/mihari/models/rule.rbs
mihari-4.7.3 sig/lib/mihari/models/rule.rbs
mihari-4.7.2 sig/lib/mihari/models/rule.rbs