Yep, that's a pumpkin seed flask! Yours is Mid 1880's-1910ish; they were popular around that time. Usually they would contain bourbon, whiskey, or other liquor but they were also used to bottle Jamaica Ginger in sometimes as well... Which was a patent medicine most people bought to get drunk off of because it contained 70-80% ethanol.