class Zelda::Zender < Zelda::Object def self.url(code=false) code ? "zenders/#{code}" : "zenders" end def name @attrs["zender"]["name"] end def code @attrs["zender"]["code"] end end