Sha256: 1f3998313d78391c9e191edeafdcc5341b82e573e5dd2cfd15192328cc2c9c34

Contents?: true

Size: 405 Bytes

Versions: 13

Compression:

Stored size: 405 Bytes

Contents

module Deprecated
  class ServerCaller < Netzke::Base
    js_properties :title => "Server caller",
                  :bbar => [:call_server.action]

    js_method :on_call_server, <<-JS
      function(){
        this.whatsUp();
      }
    JS

    ActiveSupport::Deprecation.silence do
      api :whats_up
    end

    def whats_up(params)
      {:set_title => "Hello from the server!"}
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
netzke-core-0.7.7 test/core_test_app/app/components/deprecated/server_caller.rb
netzke-core-0.7.6 test/core_test_app/app/components/deprecated/server_caller.rb
netzke-core-0.7.5 test/core_test_app/app/components/deprecated/server_caller.rb
netzke-core-0.7.4 test/core_test_app/app/components/deprecated/server_caller.rb
netzke-core-0.7.3 test/core_test_app/app/components/deprecated/server_caller.rb
netzke-core-0.7.2 test/core_test_app/app/components/deprecated/server_caller.rb
netzke-core-0.7.1 test/rails_app/app/components/deprecated/server_caller.rb
netzke-core-0.6.7 test/rails_app/app/components/deprecated/server_caller.rb
netzke-core-0.7.0 test/rails_app/app/components/deprecated/server_caller.rb
netzke-core-0.6.6 test/rails_app/app/components/deprecated/server_caller.rb
netzke-core-0.6.5 test/rails_app/app/components/deprecated/server_caller.rb
netzke-core-0.6.4 test/rails_app/app/components/deprecated/server_caller.rb
netzke-core-0.6.3 test/rails_app/app/components/deprecated/server_caller.rb