class LinkedInAdapter implements ApiAdapter<LinkedIn> {

	public UserProfile fetchUserProfile(LinkedIn linkedin) {
		LinkedInProfile profile = linkedin.profileOperations().getUserProfile();
		return new UserProfileBuilder()
				.setName(profile.getFirstName() + " " + profile.getLastName())
				.setEmail(profile.getEmailAddress())
				.build();
	}

}