Sha256: ae6992520cd0689883e703568c46223972ad7c01f712bda20e04a5910bbdfab7
Contents?: true
Size: 287 Bytes
Versions: 35
Compression:
Stored size: 287 Bytes
Contents
require 'quick_travel/adapter' module QuickTravel class ProductType < Adapter self.api_base = '/api/product_types' self.lookup = true def routes Route.all(id) end def resource_categories ResourceCategory.all(product_type_ids: [id]) end end end
Version data entries
35 entries across 35 versions & 1 rubygems