class DX::Lookup::QRZ::Entity
Public Class Methods
from_response(xml)
click to toggle source
# File lib/dx/lookup/qrz/entity.rb, line 18 def self.from_response(xml) Entity.new( :dxcc => xml['dxcc'], :code_short => xml['cc'], :code_long => xml['ccc'], :name => xml['name'], :continent => xml['continent'], :itu_zone => xml['ituzone'], :cq_zone => xml['cqzone'], :time_zone => xml['timezone'], :coordinate => [xml['lat'], xml['lon']], :notes => xml['notes'] ) end