use xing_api gem to facilitate ruby example