Class: Videojuicer::Criterion::Geolocation
- Includes:
- Resource
- Defined in:
- lib/videojuicer/criterion/geolocation.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
19 20 21 |
# File 'lib/videojuicer/criterion/geolocation.rb', line 19 def self.base_path(={}) "/criteria/#{self.to_s.split("::").last.snake_case}" end |
.singular_name ⇒ Object
15 16 17 |
# File 'lib/videojuicer/criterion/geolocation.rb', line 15 def self.singular_name "criterion" end |
Instance Method Details
#matcher_keys ⇒ Object
23 24 25 |
# File 'lib/videojuicer/criterion/geolocation.rb', line 23 def matcher_keys [:country, :region, :city, :exclude] end |