class KOSapiClient::ResponseLinks

Attributes

next[R]
prev[R]

Public Class Methods

new(prev_link, next_link) click to toggle source
# File lib/kosapi_client/response_links.rb, line 8
def initialize(prev_link, next_link)
  @prev = prev_link
  @next = next_link
end
parse(hash, client) click to toggle source
# File lib/kosapi_client/response_links.rb, line 15
def parse(hash, client)
  prev_link = parse_link(hash, 'prev', client)
  next_link = parse_link(hash, 'next', client)
  new(prev_link, next_link)
end

Private Class Methods