Class: SwxController

Inherits:
ApplicationController
  • Object
show all
Defined in:
lib/swxruby/rails_integration/swx_controller.rb

Instance Method Summary collapse

Instance Method Details

#gatewayObject



2
3
4
5
# File 'lib/swxruby/rails_integration/swx_controller.rb', line 2

def gateway
  # request handler takes in the params hash 
send_data(SwxGateway.process(params), :type => 'application/swf', :filename => 'data.swf')
end