Class: Spotify::Models::Cursor

Inherits:
Object
  • Object
show all
Defined in:
lib/spotify/models/cursor.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(args = {}) ⇒ Cursor

Returns a new instance of Cursor.



9
10
11
12
13
# File 'lib/spotify/models/cursor.rb', line 9

def initialize(args = {})
  args = args.with_indifferent_access

  @after = args[:after]
end

Instance Attribute Details

#afterObject (readonly)

Returns the value of attribute after.



7
8
9
# File 'lib/spotify/models/cursor.rb', line 7

def after
  @after
end