Class: Thron::Gateway::ContentCategory

Inherits:
Session show all
Defined in:
lib/thron/gateway/content_category.rb

Constant Summary collapse

PACKAGE =
Package.new(:xcontents, :resources, self.service_name)

Constants inherited from Base

Base::NO_ACTIVE_SESSION

Instance Attribute Summary

Attributes inherited from Base

#token_id

Class Method Summary collapse

Methods inherited from Session

#initialize

Methods included from Pageable

included

Methods inherited from Base

#check_session, client_id, #client_id, service_name

Methods included from Routable

included, info, #route

Constructor Details

This class inherits a constructor from Thron::Gateway::Session

Class Method Details

.routesObject



9
10
11
12
13
14
# File 'lib/thron/gateway/content_category.rb', line 9

def self.routes
  @routes ||= {
    link_category_to_content: Route::factory(name: 'linkCategoryToContent', package: PACKAGE),
    remove_category_from_content: Route::factory(name: 'removeCategoryToContent', package: PACKAGE)
  }
end