Sha256: 641857980912f91f43eec1e161b81f4480b1058996eedae792dd5887475036d6
Contents?: true
Size: 676 Bytes
Versions: 26
Compression:
Stored size: 676 Bytes
Contents
module Videojuicer module Criterion class Geolocation include Videojuicer::Resource belongs_to :campaign, :class=>Videojuicer::Campaign property :campaign_id, Integer property :country, String property :region, String property :city, String property :exclude, Boolean def self.singular_name "criterion" end def self.base_path(options={}) "/criteria/#{self.to_s.split("::").last.snake_case}" end def matcher_keys [:country, :region, :city, :exclude] end end end end
Version data entries
26 entries across 26 versions & 1 rubygems