You could create data objects in your wrapper app that are just proxies for the 
other services then. Since you know they won't change underneath you, you can 
literally scrape the HTML and use it as a poor man's API. Nokogiri is where I 
would start with this, since it can turn any janky HTML into a clean object 
tree. But I am curious -- what made adding an API to the two other apps such an 
ordeal? Are they older Rails versions? Not your work and too much hassle to 
untwist? (Not critical to your answer, just asking.)

Walter

On Jul 18, 2013, at 6:45 AM, Patrick Bartels wrote:

> Yes, both are my applications. I own the repositories and the server 
> they're gonna be hosted on.
> 
> Is proxying maybe a solution?
> 
> -- 
> Posted via http://www.ruby-forum.com/.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to rubyonrails-talk+unsubscr...@googlegroups.com.
> To post to this group, send email to rubyonrails-talk@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/rubyonrails-talk/336965d484e4d46789beb2507e59a3e1%40ruby-forum.com.
> For more options, visit https://groups.google.com/groups/opt_out.
> 
> 

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/08E02562-B28C-4800-9454-423D29F478BC%40wdstudio.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to