This paper constructs a model with a dependent setting where the time between two claim occurrences determines the distribution of the next claim size. We derive the exact expression of the survival probability for the exponentially distributed claim sizes. For the generally distributed claim sizes, the upper bound and the approximation for the ruin probability are obtained.