Class: Rdio::ActivityStream::Update

Inherits:
Rdio::ApiObj show all
Defined in:
lib/rdio/types.rb

Instance Attribute Summary collapse

Attributes inherited from Rdio::ApiObj

#api

Instance Method Summary collapse

Methods inherited from Rdio::ApiObj

#fill

Constructor Details

#initialize(api) ⇒ Update

Returns a new instance of Update.



660
661
662
# File 'lib/rdio/types.rb', line 660

def initialize(api)
  super api
end

Instance Attribute Details

#albumsObject

Albums



655
656
657
# File 'lib/rdio/types.rb', line 655

def albums
  @albums
end

#dateObject

string date



649
650
651
# File 'lib/rdio/types.rb', line 649

def date
  @date
end

#ownerObject

User owner



652
653
654
# File 'lib/rdio/types.rb', line 652

def owner
  @owner
end

#peopleObject

People



658
659
660
# File 'lib/rdio/types.rb', line 658

def people
  @people
end

#update_typeObject

One of the following

 0 — track added to collection
 1 — track added to playlist
 3 — friend added
 5 — user joined
 6 — comment added to track
 7 — comment added to album
 8 — comment added to artist
 9 — comment added to playlist
10 — track added via match collection
11 — user subscribed to Rdio
12 — track synced to mobile


646
647
648
# File 'lib/rdio/types.rb', line 646

def update_type
  @update_type
end