Module: Neows::Models::LinkNavigation

Includes:
REST::Utils
Included in:
Browse, Feed
Defined in:
lib/neows/models/link_navigation.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details


14
# File 'lib/neows/models/link_navigation.rb', line 14

attribute :links, Neows::Models::Links

Instance Method Details

#nextself

Request the objects next results


19
20
21
# File 'lib/neows/models/link_navigation.rb', line 19

def next
  perform_get(links.next, self.class)
end

#prevself

Request the objects previous results


26
27
28
# File 'lib/neows/models/link_navigation.rb', line 26

def prev
  perform_get(links.prev, self.class)
end