Sha256: b8abc2c71380fdd98e7b8cd7a0012efabec1f0093e0df98c92b714c5479ad4a0
Contents?: true
Size: 530 Bytes
Versions: 10
Compression:
Stored size: 530 Bytes
Contents
module Videojuicer module Criterion class Time 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
10 entries across 10 versions & 1 rubygems