Class: Mixcloud::Track
- Includes:
- PopularNewHot
- Defined in:
- lib/mixcloud/track.rb
Instance Attribute Summary collapse
-
#api_url ⇒ Object
Returns the value of attribute api_url.
-
#artist_url ⇒ Object
Returns the value of attribute artist_url.
-
#key ⇒ Object
Returns the value of attribute key.
-
#name ⇒ Object
Returns the value of attribute name.
-
#public_url ⇒ Object
Returns the value of attribute public_url.
-
#slug ⇒ Object
Returns the value of attribute slug.
Method Summary
Methods included from PopularNewHot
#hot_url, included, #new_url, #popular_url
Methods inherited from Resource
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_url ⇒ Object
Returns the value of attribute api_url.
4 5 6 |
# File 'lib/mixcloud/track.rb', line 4 def api_url @api_url end |
#artist_url ⇒ Object
Returns the value of attribute artist_url.
4 5 6 |
# File 'lib/mixcloud/track.rb', line 4 def artist_url @artist_url end |
#key ⇒ Object
Returns the value of attribute key.
4 5 6 |
# File 'lib/mixcloud/track.rb', line 4 def key @key end |
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/mixcloud/track.rb', line 4 def name @name end |
#public_url ⇒ Object
Returns the value of attribute public_url.
4 5 6 |
# File 'lib/mixcloud/track.rb', line 4 def public_url @public_url end |
#slug ⇒ Object
Returns the value of attribute slug.
4 5 6 |
# File 'lib/mixcloud/track.rb', line 4 def slug @slug end |