class ApiResource::Associations::ResourceScope
Public Instance Methods
each(*args, &block)
click to toggle source
# File lib/api_resource/associations.rb, line 271 def each(*args, &block) self.internal_object.each(*args, &block) end
internal_object()
click to toggle source
# File lib/api_resource/associations.rb, line 265 def internal_object @internal_object ||= self.klass.send(:find, :all, :params => self.scopes[self.current_scope]) end
Also aliased as: all