Class: Mixcloud::Track

Inherits:
Resource show all
Includes:
PopularNewHot
Defined in:
lib/mixcloud/track.rb

Instance Attribute Summary collapse

Method Summary

Methods included from PopularNewHot

#hot_url, included, #new_url, #popular_url

Methods inherited from Resource

#initialize

Methods included from UrlHelper

#concat_with_metadata, #turn_www_to_api, #validate_mixcloud_url

Constructor Details

This class inherits a constructor from Mixcloud::Resource

Instance Attribute Details

#api_urlObject

Returns the value of attribute api_url.



4
5
6
# File 'lib/mixcloud/track.rb', line 4

def api_url
  @api_url
end

#artist_urlObject

Returns the value of attribute artist_url.



4
5
6
# File 'lib/mixcloud/track.rb', line 4

def artist_url
  @artist_url
end

#keyObject

Returns the value of attribute key.



4
5
6
# File 'lib/mixcloud/track.rb', line 4

def key
  @key
end

#nameObject

Returns the value of attribute name.



4
5
6
# File 'lib/mixcloud/track.rb', line 4

def name
  @name
end

#public_urlObject

Returns the value of attribute public_url.



4
5
6
# File 'lib/mixcloud/track.rb', line 4

def public_url
  @public_url
end

#slugObject

Returns the value of attribute slug.



4
5
6
# File 'lib/mixcloud/track.rb', line 4

def slug
  @slug
end