class Aws::EndpointCache::Endpoint

def expired?

def expired?
  Time.now - @created_time > @cache_period * 60
end

def initialize(options)

def initialize(options)
  @address = options.fetch(:address)
  @cache_period = options[:cache_period_in_minutes] || CACHE_PERIOD
  @created_time = Time.now
end