In a tall glass over ice, combine rum, lemon-lime soda and cranberry juice. Garnish with a slice of lime.