Class: Dance::Tracks

Inherits:
Client show all
Defined in:
lib/dance/tracks.rb

Class Method Summary collapse

Methods inherited from Client

#artists, #genres, #initialize, #tracks, #users

Constructor Details

This class inherits a constructor from Dance::Client

Class Method Details

.info(id) ⇒ Object

Returns information on the given track. Parameters: id GET /tracks/:id



7
8
9
# File 'lib/dance/tracks.rb', line 7

def self.info(id)
  get('/tracks/' + id.to_s)
end