similar to: Models for external REST services

Displaying 5 results from an estimated 5 matches similar to: "Models for external REST services"

2011 Oct 07
1
403 Error Dont know whats wrong.
Hi, I am quite new to ruby and am programming an application to send sms using rest_client gem. I so far have code on one of my modules which tries to send an sms to a number. It gives the 403 error - RestClient::Forbidden in SMSController#index 403 Forbidden Rails.root: /Users/user1/Desktop/rails_projects/sms_app My code in the module looks as follows - before adding this code i had a simple
2007 May 05
1
Problem in Vcard generation
I am trying to explore the vpim gem.. Using that i am trying to generate Vcard..Now I am able to generate vcard also i am able to send that vcard through mail. If i try to open that vcard through thunderbird, all the fields getting stored in address book except mobile number, Here ia m send the code for adding mobile number into vcard.. if @bizcard_label.mobile_number!=""
2008 Jun 14
1
help with collection_select
Hi, I have a table called ''users'', there is a field called ''username'' and another field called ''mobile_number'' (among other fields). In my application the user can send SMS message and can choose between his/her username and mobile number as the sender id. Both of them are of course stored in the users table. Also there is a third option which
2004 Dec 19
4
SMS - how to send one
I've read quite a bit in the older mailing list posts and the wiki but I'm missing some simple point. 1) What is required to send an SMS to a mobile outside the office given: Channel: ZAP/1 send it to $SMS_RECIPIENT (which includes the final "extra" digit) via $SMS_CENTER=the national message center server for sending messages $MESSAGE= the message text How is the .call file
2006 Jan 25
12
DRY in Models
I am building an app right now that needs to grant access to three levels of members right now - each will have their own table in the DB. When creating the add_user action I am converting the password into a hashed password through the model. The way I am doing this right now, I will inevitably end up with repeated code in three different models. Is there a way I can define this code in