Class: Zendesk2::HelpCenter::Subscriptions

Inherits:
Object
  • Object
show all
Includes:
Collection, PagedCollection, Searchable
Defined in:
lib/zendesk2/help_center/subscriptions.rb

Instance Method Summary collapse

Methods included from Searchable

included, #search

Methods included from PagedCollection

#all, #all_entries, #collection_root, #create, #create!, #each_entry, #each_page, #get, included, #model_method, #model_root, #new_page, #next_page, #previous_page

Methods included from Collection

#all, cistern_included, #collection_root, #create, #create!, #get, included, #model_method, #model_root, #namespace, #new

Instance Method Details

#collection_methodObject



23
24
25
# File 'lib/zendesk2/help_center/subscriptions.rb', line 23

def collection_method
  user_id ? :get_users_help_center_subscriptions : super
end

#get!(*args) ⇒ Object



27
28
29
30
31
# File 'lib/zendesk2/help_center/subscriptions.rb', line 27

def get!(*args)
  requires :content_id, :content_type

  super
end