Sha256: b3c4aa135695e0707f09ca6102d7889417f24babc028b7aa9521d3d76e37d66e
Contents?: true
Size: 591 Bytes
Versions: 7
Compression:
Stored size: 591 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
7 entries across 7 versions & 1 rubygems