On 4 September 2012 10:39, news.anand11 <[email protected]> wrote:
> I can successfully get the contacts from google using OAuth gem in rails. my
> gmail configuration is :
>
> :google=>{
>
>     :key=>"***",
>
>     :secret=>"***",
>
>     :expose => true,
>
>     :scope=>"https://www.google.com/m8/feeds/";
>
>   }
>
> now i want to get contact from yahoo and hot mail. How to get that contact I
> have given following configuration in my oauth_consumer.rb file
>
> :yahoo=>{
>
>    :client=>:oauth_gem,
>
>    :expose => true,
>
>    :allow_login => true,
>
>    :key=>"**",
>
>    :secret=>"**",
>
>    :scope=>"https://me.yahoo.com";
>
>  }
>
>
> :hotmail=>{
>
>    :client=>:oauth_gem,
>
>    :expose => true,
>
>    :allow_login => true,
>
>    :key=>"**",
>
>    :secret=>"**"
>
>  }
>
> when i am trying to do same like what is done in google it gives error like
> undefined methoddowncase' for nil:NilClass`

Copy and paste the full error message and stack trace and show us the
section of your code that it refers to.

Colin

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to