Guest User

Untitled

a guest
Mar 9th, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. class OtrsApi < ActionWebService::API::Base
  2. api_method :dispatch, :expects => [ {:user => :string},{:password => :string},{:obj => :string},{:meth => :string},{:parname => :string },{:parval => :int} ], :returns => [ :res => ActionWebService::Struct ]
  3. end
  4.  
  5. #Question: how can I make a function (or something) that would allow me to take some parameters
  6. #upon which i would build dynamically OtrsApi CLASSES?
Add Comment
Please, Sign In to add comment