Class: Thron::Gateway::PublishInWeeboExpress

Inherits:
Session
  • Object
show all
Defined in:
lib/thron/gateway/publish_in_weebo_express.rb

Constant Summary collapse

PACKAGE =
Package.new(:xadmin, :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
15
16
17
18
19
20
21
22
# File 'lib/thron/gateway/publish_in_weebo_express.rb', line 9

def self.routes
  @routes ||= {
    publish_audio: Route::factory(name: 'publishAudio', package: PACKAGE),
    publish_content_in_channels: Route::factory(name: 'publishContentInChannels', package: PACKAGE),
    publish_document: Route::factory(name: 'publishDocument', package: PACKAGE),
    publish_image: Route::factory(name: 'publishImage', package: PACKAGE),
    publish_live_event: Route::factory(name: 'publishLiveEvent', package: PACKAGE),
    publish_pagelet: Route::factory(name: 'publishPagelet', package: PACKAGE),
    publish_playlist: Route::factory(name: 'publishPlayList', package: PACKAGE),
    publish_program: Route::factory(name: 'publishProgram', package: PACKAGE),
    publish_video: Route::factory(name: 'publishVideo', package: PACKAGE),
    upload_and_publish: Route::factory(name: 'uploadAndPublish', package: PACKAGE)
  }
end