Module: Mosaic::Sdk::Models::Searchable

Included in:
Clone, Nav
Defined in:
lib/mosaic/sdk/models/searchable.rb

Overview

Capability mixed into the collections whose Mosaic API exposes a POST <collection>/search endpoint (currently Clone and Nav).

Deliberately NOT defined on Base: Bank and Dna have no /search endpoint and must not advertise the capability (a Base method would let Sdk.Bank.search compile and POST to a nonexistent path).

Only #search is contributed to the including collection; the code-key plumbing lives in Codes, a private module of pure functions.