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.



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

def initialize(api)
  super api
end

Instance Attribute Details

#albumsObject

Albums



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

def albums
  @albums
end

#dateObject

string date



642
643
644
# File 'lib/rdio/types.rb', line 642

def date
  @date
end

#ownerObject

User owner



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

def owner
  @owner
end

#peopleObject

People



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

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


639
640
641
# File 'lib/rdio/types.rb', line 639

def update_type
  @update_type
end