class OldApiResource::Associations::ResourceScope

Public Instance Methods

all()
Alias for: internal_object
each(*args, &block) click to toggle source
# File lib/old_api_resource/associations/resource_scope.rb, line 17
def each(*args, &block)
  self.internal_object.each(*args, &block)
end
internal_object() click to toggle source
# File lib/old_api_resource/associations/resource_scope.rb, line 11
def internal_object
  @internal_object ||= self.klass.send(:find, :all, :params => self.scopes[self.current_scope])
end
Also aliased as: all