Class: ActiveFedora::FileRelation
- Defined in:
- lib/active_fedora/file_relation.rb
Constant Summary
Constants included from Delegation
Delegation::BLACKLISTED_ARRAY_METHODS
Instance Attribute Summary
Attributes inherited from Relation
#default_scoped, #klass, #loaded, #values
Instance Method Summary collapse
Methods inherited from Relation
#==, #create, #delete_all, #destroy_all, #initialize, #initialize_copy, #reset, #scope_for_create, #scoping, #to_a, #where_values_hash
Methods included from FinderMethods
#exists?, #find, #find_each, #find_one, #find_take, #first, #last, #search_by_id, #search_in_batches, #search_with_conditions, #take
Methods included from Calculations
Methods included from SpawnMethods
Methods included from QueryMethods
#build_where, #create_with_value, #extending!, #extending_values, #extending_values=, #limit, #limit!, #limit_value, #limit_value=, #none!, #offset, #offset!, #offset_value, #offset_value=, #order, #order!, #order_values, #order_values=, #select, #where, #where!, #where_values, #where_values=
Constructor Details
This class inherits a constructor from ActiveFedora::Relation
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ActiveFedora::Delegation
Instance Method Details
#load_from_fedora(id, _) ⇒ Object
3 4 5 |
# File 'lib/active_fedora/file_relation.rb', line 3 def load_from_fedora(id, _) klass.new(klass.id_to_uri(id)) end |