Class: ActiveFedora::Associations::ContainerProxy

Inherits:
CollectionProxy show all
Defined in:
lib/active_fedora/associations/container_proxy.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 CollectionProxy

#<<, #any?, #build, #clear, #concat, #count, #create, #create!, #delete, #delete_all, #destroy, #destroy_all, #empty?, #find, #first, #include?, #last, #length, #load_from_solr, #load_target, #loaded?, #many?, #proxy_association, #reload, #replace, #scope, #select, #size, #target, #to_ary, #uniq

Methods inherited from Relation

#==, #create, #delete_all, #destroy_all, #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

#count

Methods included from SpawnMethods

#merge, #merge!, #spawn

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

#initialize(association) ⇒ ContainerProxy

Returns a new instance of ContainerProxy.



4
5
6
# File 'lib/active_fedora/associations/container_proxy.rb', line 4

def initialize(association)
  @association = association
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class ActiveFedora::Delegation