class

Detector::Specification::Insomnia

Inherits Detector < Reference < Object

Constants

EXPORT_FORMAT_MARKER = /"__export_format"/

Every .json/.yaml/.yml in the tree reaches these gates.

INSOMNIA_HOST_MARKER = /\.insomnia\.rest\//
TYPE_FIELD_MARKER = /"_type"/

Instance methods

applicable?(filename : String) : Bool

Registers Insomnia export paths in CodeLocator.

Source
detect(filename : String, file_contents : String) : Bool
Source
idempotent?

Registers Insomnia export paths in CodeLocator.

Source
name

Registers Insomnia export paths in CodeLocator.

Source