Sha256: c71bdfba5a2576adea9d1f87624c26dfd7dc2869f486bbdaa73a7b847fd4a874

Contents?: true

Size: 303 Bytes

Versions: 1

Compression:

Stored size: 303 Bytes

Contents

class <%= messageclass %> < Appcelerator::Service

  Service '<%= messagetype %>', :<%= messagefunc %><%= responsetype %>

  def <%= messagefunc %>(request,message)

      # TODO: implement service code
      p "received message #{type} with #{message.inspect}"
      
      <%= response %>
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
appcelerator-2.0.1.1 service/templates/service.rb