Class: Videojuicer::Criterion::DateRange
- Includes:
- Resource
- Defined in:
- lib/videojuicer/criterion/date_range.rb
Instance Attribute Summary
Attributes included from Videojuicer::Configurable
Class Method Summary collapse
Instance Method Summary collapse
Methods included from Resource
#destroy, #errors, #errors=, #errors_on, included, #new_record?, #reload, #save, #to_json, #update_attributes, #valid?, #validate_committed_response, #validate_response
Methods included from Resource::Relationships::BelongsTo
Methods included from Resource::PropertyRegistry
#attr_clean!, #attr_dirty!, #attr_dirty?, #attr_get, #attr_set, #attributes, #attributes=, #clean_dirty_attributes!, #coerce_value, #default_attributes, #dirty_attribute_keys, #dirty_attributes, included, inherited, #initialize, #invalid_attributes, #returnable_attributes, #set_default_attributes
Methods included from Resource::Inferrable
Methods included from OAuth::ProxyFactory
Methods included from Videojuicer::Configurable
#api_version, #config, #configure!, #consumer_key, #consumer_secret, #host, #port, #protocol, #scope, #seed_name, #token, #token_secret, #user_id
Class Method Details
.base_path(options = {}) ⇒ Object
17 18 19 |
# File 'lib/videojuicer/criterion/date_range.rb', line 17 def self.base_path(={}) "/criteria/#{self.to_s.split("::").last.snake_case}" end |
.singular_name ⇒ Object
13 14 15 |
# File 'lib/videojuicer/criterion/date_range.rb', line 13 def self.singular_name "criterion" end |
Instance Method Details
#matcher_keys ⇒ Object
21 22 23 |
# File 'lib/videojuicer/criterion/date_range.rb', line 21 def matcher_keys [:until, :from] end |