Skip to content

Instantly share code, notes, and snippets.

View ShopifyEng's full-sized avatar

Shopify Engineering Communications ShopifyEng

View GitHub Profile
# ----------------------------- Gem -----------------------------
module PricingEngine
module PricingRepositoryInterface
extend T::Sig
extend T::Helpers
interface!
sig { abstract.params(ids: T::Array[Integer]).returns(T::Array[Schema::Variant]) }
def variants_by_ids(ids);end