Sha256: e895df0cb5190112b856cc8a4e8d4e84d86ae73579e11f0f660d485b3198ba21
Contents?: true
Size: 569 Bytes
Versions: 19
Compression:
Stored size: 569 Bytes
Contents
module Videojuicer module Criterion class Request include Videojuicer::Resource belongs_to :campaign, :class=>Videojuicer::Campaign property :campaign_id, Integer property :referrer, String, :nullable => false 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 [:referrer, :exclude] end end end end
Version data entries
19 entries across 19 versions & 1 rubygems