Class: SongstatsSDK::Resources::Labels

Inherits:
Entity
  • Object
show all
Defined in:
lib/songstats_sdk/resources/entities.rb

Instance Method Summary collapse

Methods inherited from Entity

#activities, #add_link_request, #add_to_member_relevant_list, #add_track_request, #audience, #audience_details, #catalog, #historic_stats, #info, #remove_from_member_relevant_list, #remove_link_request, #remove_track_request, #search, #songshare, #stats, #top_commentors, #top_curators, #top_playlists, #top_tracks

Constructor Details

#initialize(http_client) ⇒ Labels

Returns a new instance of Labels.



147
148
149
150
151
152
153
# File 'lib/songstats_sdk/resources/entities.rb', line 147

def initialize(http_client)
  super(
    http_client,
    resource: "labels",
    identifier_keys: %i[songstats_label_id beatport_label_id]
  )
end