Displaying 4 results from an estimated 4 matches for "user_api".
Did you mean:
user_a
2007 Jan 18
2
How to use API from AWS -- help!
...done so far:
$> rails usermanagement
- "usermanagement" is the application that will have an API to allow
other applications to manage the user base (register, edit, login,
authenticate, etc).
Within usermanagement, I have:
1) models/user.rb
2) controllers/user_controller.rb
3) apis/user_api.rb
1) Model: User.rb - This file just holds some business logic for
maintaining the users.
2) Controller: class UserController < ApplicationController and below
this line at the top of the file, I have:
wsdl_service_name ''User''
web_service_api UserApi
then my method impleme...
2006 May 02
3
web services on the client side
...o use web services. i set up two different
rails apps. one as the server and one as the client. setting up the
server seems to work fine. but when i use the example at the end of the
chapter to set up a client, i get the following error when i open the
page:
Missing API definition file in apis/user_api.rb
Which is the filename for my user api on the server application. I have
this in my controller:
class RemoteInfoController < ApplicationController
web_client_api :user,
:soap,
"http://my_ip_address/server/backend/api"
def list
@users = user.find_all_users.map do |...
2006 May 02
0
RE: Rails Digest, Vol 20, Issue 39
...+0200
> From: Pradeep Sethi <psethi@gmail.com>
> Subject: [Rails] Re: web services on the client side
> To: rails@lists.rubyonrails.org
> Message-ID: <993b91e9f064e9a32ccdaa544c5737dd@ruby-forum.com>
> Content-Type: text/plain; charset=utf-8
>
> yes, you need apis/user_api.rb and you''d provide the method signature
> for the api call there with api_method
>
> such as
>
> api_method find_user_by_id,
> :expects => {:id => :int},
> :returns => {:user }
>
> please note that I am not expert in this area. For complet...
2006 Jan 16
17
LoginEngine / UserEngine conceptual help
All,
I have a small Intranet app I''m trying to get ready for remote access.
(I only have 15 or so users for now and I don''t plan to be adding
very many more.).
I have installed the login engine and it seems to be working as
advertized. (Great job!)
For my needs I don''t want random people to be able to register and get
access to my app, but I will need to register