Class: AppManager::BannersController

Inherits:
ApplicationController show all
Defined in:
app/controllers/app_manager/banners_controller.rb

Instance Method Summary collapse

Instance Method Details

#marketing_bannerObject



6
7
8
9
10
11
12
13
14
# File 'app/controllers/app_manager/banners_controller.rb', line 6

def marketing_banner
		begin
banner_obj = AppManager::Client.new
render json: banner_obj.get_banners
		rescue Exception => e
			@fs = AppManager::FailSafe.new
render json: @fs.get_local_app_structures
		end
end