Class: Paggi::Paginated

Inherits:
Object
  • Object
show all
Defined in:
lib/paggi/paginated.rb

Instance Attribute Summary collapse

Instance Attribute Details

#errorsObject

Returns the value of attribute errors.



3
4
5
# File 'lib/paggi/paginated.rb', line 3

def errors
  @errors
end

#resultObject

Returns the value of attribute result.



3
4
5
# File 'lib/paggi/paginated.rb', line 3

def result
  @result
end

#totalObject

Returns the value of attribute total.



3
4
5
# File 'lib/paggi/paginated.rb', line 3

def total
  @total
end