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.5 lib/api_resource/conditions/single_object_association_condition.rb
api_resource-0.6.4 lib/api_resource/conditions/single_object_association_condition.rb
api_resource-0.6.3 lib/api_resource/conditions/single_object_association_condition.rb
api_resource-0.6.2 lib/api_resource/conditions/single_object_association_condition.rb
api_resource-0.6.1 lib/api_resource/conditions/single_object_association_condition.rb