class Spotify::Models::CursorbasedPaging
Attributes
cursors[R]
href[R]
items[R]
limit[R]
next[R]
total[R]
Public Class Methods
new(args = {}, klass)
click to toggle source
# File lib/spotify/models/cursorbased_paging.rb, line 9 def initialize(args = {}, klass) args = args.with_indifferent_access @href = args[:href] @items = args[:items].map { |item| klass.new(item) } @limit = args[:limit] @next = args[:next] @total = args[:total] @cursors = Cursor.new(args[:cursors]) end