Sha256: fb8fb0fc487f0ca5634fb90f03a97aa35146d2ebfdd03258865bd04c5141416f

Contents?: true

Size: 392 Bytes

Versions: 5

Compression:

Stored size: 392 Bytes

Contents

require_dependency "app_manager/application_controller"

module AppManager
	  class BannersController < ApplicationController
	    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
	  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
app_manager-1.1.0 app/controllers/app_manager/banners_controller.rb
app_manager-1.0.3 app/controllers/app_manager/banners_controller.rb
app_manager-1.0.2 app/controllers/app_manager/banners_controller.rb
app_manager-1.0.1 app/controllers/app_manager/banners_controller.rb
app_manager-1.0.0 app/controllers/app_manager/banners_controller.rb