This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find: https://order.dominos.com/power/store-locator?s=${line1}&c=${line2}&type=${type} | |
method: GET | |
s: Street Address | |
c: City, State and/or Postal Code | |
type: Delivery or Carryout | |
store info: https://order.dominos.com/power/store/${storeID}/profile | |
method: GET | |
storeId: store id number |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Registration < ActiveRecord::Base | |
scope :nhb_consent_eq, -> (enum = "yes") { | |
where("document @> ?", { nhb_consent: { value: enum } }.to_json ) | |
} | |
private | |
def self.ransackable_scopes(auth_object = nil) | |
%i(nhb_consent_eq) | |
end |