Sha256: c1899575520706b2a11b9894f6d5e49f82e664f965878640e3432c75680ba1f5
Contents?: true
Size: 300 Bytes
Versions: 4
Compression:
Stored size: 300 Bytes
Contents
module DiscountNetwork class Provider < Base def where(type:) DiscountNetwork.get_resource( "providers", type: type ).providers end def find_by_slug(slug) DiscountNetwork.get_resource( ["providers", slug].join("/"), ).provider end end end
Version data entries
4 entries across 4 versions & 1 rubygems