XML API as model in Rails application

Hi all Rails developer,

I am newcomer to Rails so I wonder what is best approach to rewrite my
current WHOIS search app (PHP) to Rails platform? Currently my idea is
to
put all XML API cals and calculations in model, is this right?
Basically,
model would consist of login, getDomainInfo and getContactInfo commands
sent to our domain registrar EPP API.

Thanks,

On 2016-Apr-14, at 10:56 , [email protected] wrote:

Hi all Rails developer,

I am newcomer to Rails so I wonder what is best approach to rewrite my current
WHOIS search app (PHP) to Rails platform? Currently my idea is to put all XML API
cals and calculations in model, is this right? Basically, model would consist of
login, getDomainInfo and getContactInfo commands sent to our domain registrar EPP
API.

Thanks,

Sounds like you might want to look at GitHub - weppos/whois: An intelligent — pure Ruby — WHOIS client and parser.
https://github.com/weppos/whois first.

-Rob