Class: MixCloud::Category

Inherits:
Hashie::Dash
  • Object
show all
Includes:
HTTParty
Defined in:
lib/mixcloud/category.rb

Class Method Summary collapse

Class Method Details

.find(category) ⇒ Object



21
22
23
24
# File 'lib/mixcloud/category.rb', line 21

def self.find(category)
  res = self.get("/categories/#{category}?metadata=1")
  self.new res
end