Class: Upcoming::Category

Inherits:
Object
  • Object
show all
Includes:
Defaults
Defined in:
lib/upcoming/category.rb

Class Method Summary collapse

Methods included from Defaults

included

Class Method Details

.listObject

Retrieve a list of valid event categories.



7
8
9
# File 'lib/upcoming/category.rb', line 7

def self.list
  Mash.new(self.get('/', :query => {:method => 'category.getList'}.merge(Upcoming.default_options))).rsp.category
end