function Yelp(data) {
    this.name = data.name;
    this.image_url = data.image_url;
    this.price = data.price;
    this.rating = data.rating;
    this.url = data.url;
}
// constructor function formate the location responed data
constructor function formate the location responed data
constructor function formate the location responed data
function Yelp(data) {
    this.name = data.name;
    this.image_url = data.image_url;
    this.price = data.price;
    this.rating = data.rating;
    this.url = data.url;
}
function Yelp ( data ) { this . name = data . name ; this . image_url = data . image_url ; this . price = data . price ; this . rating = data . rating ; this . url = data . url ; }
constructor function formate the location responed data
constructor function formate the location responed data