Sha256: d22032ea0d2ce359b12a3c33bfe90bf42be0f7a5096084743dc90e550dd82c08

Contents?: true

Size: 356 Bytes

Versions: 25

Compression:

Stored size: 356 Bytes

Contents

module ApiResource

	module Conditions

		# Special class for passing into a finder object
		# just defines all the proper methods
		class SingleObjectAssociationCondition < AssociationCondition

			protected

			def instantiate_finder
				ApiResource::Finders::SingleObjectAssociationFinder.new(self.klass, self, @internal_object)
			end

		end

	end

end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
api_resource-0.6.25 lib/api_resource/conditions/single_object_association_condition.rb
api_resource-0.6.24 lib/api_resource/conditions/single_object_association_condition.rb
api_resource-0.6.23 lib/api_resource/conditions/single_object_association_condition.rb
api_resource-0.6.22 lib/api_resource/conditions/single_object_association_condition.rb
api_resource-0.6.21 lib/api_resource/conditions/single_object_association_condition.rb
api_resource-0.6.20 lib/api_resource/conditions/single_object_association_condition.rb
api_resource-0.6.19 lib/api_resource/conditions/single_object_association_condition.rb
api_resource-0.6.18 lib/api_resource/conditions/single_object_association_condition.rb
api_resource-0.6.17 lib/api_resource/conditions/single_object_association_condition.rb
api_resource-0.6.16 lib/api_resource/conditions/single_object_association_condition.rb
api_resource-0.6.15 lib/api_resource/conditions/single_object_association_condition.rb
api_resource-0.6.14 lib/api_resource/conditions/single_object_association_condition.rb
api_resource-0.6.13 lib/api_resource/conditions/single_object_association_condition.rb
api_resource-0.6.12 lib/api_resource/conditions/single_object_association_condition.rb
api_resource-0.6.11 lib/api_resource/conditions/single_object_association_condition.rb
api_resource-0.6.9 lib/api_resource/conditions/single_object_association_condition.rb
api_resource-0.6.10 lib/api_resource/conditions/single_object_association_condition.rb
api_resource-0.6.8 lib/api_resource/conditions/single_object_association_condition.rb
api_resource-0.6.7 lib/api_resource/conditions/single_object_association_condition.rb
api_resource-0.6.6 lib/api_resource/conditions/single_object_association_condition.rb