Sha256: 001c0fc4f5755a5778266ea7b2c738d00fd4a2d34575fa71b5e76998b2810334
Contents?: true
Size: 354 Bytes
Versions: 10
Compression:
Stored size: 354 Bytes
Contents
module ShopifyAPI class Event < Base include DisablePrefixCheck self.prefix = "/admin/:resource/:resource_id/" # Hack to allow both Shop and other Events in through the same AR class def self.prefix(options={}) options[:resource].nil? ? "/admin/" : "/admin/#{options[:resource]}/#{options[:resource_id]}/" end end end
Version data entries
10 entries across 10 versions & 1 rubygems