Class: Timepad::Category
Instance Method Summary collapse
-
#get_list ⇒ Array
Get all categories.
-
#initialize(timepad_client) ⇒ Category
constructor
A new instance of Category.
Methods inherited from Base
#make_query, #make_uri, #request, #subscribers_to_hash
Constructor Details
#initialize(timepad_client) ⇒ Category
Returns a new instance of Category.
3 4 5 |
# File 'lib/timepad/category.rb', line 3 def initialize(timepad_client) @client = timepad_client end |
Instance Method Details
#get_list ⇒ Array
Get all categories
11 12 13 |
# File 'lib/timepad/category.rb', line 11 def get_list request 'getlist' end |