def save
      attributes = {
        sms_url:     self.sms_url,
        voice_start: self.voice_start_url
      }

      # If new URL, send country, otherwise not
      unless self.number_id
        attributes[:country] = self.country
      end
      response = @client.post("/Numbers/#{self.number_id}", attributes)
      response.code == 200
    end
def save
      attributes = {
        sms_url:     self.sms_url,
        voice_start: self.voice_start_url
      }

      # If new URL, send country, otherwise not
      unless self.number_id
        attributes[:country] = self.country
      end
      response = @client.post("/Numbers/#{self.number_id}", attributes)
      response.code == 200
    end
Updates or allocates a number