sam.roberts55 sam.roberts55 - 1 year ago 95
Ruby Question

how to get ip address from hidemyass2 gem response

Got a slight issue at the moment

i'm getting this passed back to me at the moment


this appears in my byebug if i put in proxy.first

How do i get it so it just shows the ip address? I'm sure this is simpel im just being dumb at the moment


Answer Source

According to the implementation on the module, It has a method call ip

So to get the IP address you can try