Class: Spotify::Models::Cursor
- Inherits:
-
Object
- Object
- Spotify::Models::Cursor
- Defined in:
- lib/spotify/models/cursor.rb
Instance Attribute Summary collapse
-
#after ⇒ Object
readonly
Returns the value of attribute after.
Instance Method Summary collapse
-
#initialize(args = {}) ⇒ Cursor
constructor
A new instance of Cursor.
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
#after ⇒ Object (readonly)
Returns the value of attribute after.
7 8 9 |
# File 'lib/spotify/models/cursor.rb', line 7 def after @after end |