Sha256: ec8b1a0eb75c86adf76e3d1aad7da4514381bebb5272960bacbc18a9ebea3afd
Contents?: true
Size: 535 Bytes
Versions: 26
Compression:
Stored size: 535 Bytes
Contents
module Videojuicer module Criterion class DateRange include Videojuicer::Resource belongs_to :campaign, :class=>Videojuicer::Campaign property :campaign_id, Integer property :until, DateTime property :from, DateTime def self.singular_name "criterion" end def self.base_path(options={}) "/criteria/#{self.to_s.split("::").last.snake_case}" end def matcher_keys [:until, :from] end end end end
Version data entries
26 entries across 26 versions & 1 rubygems