module Travis::Client::HasUuid
def cast_id(object)
def cast_id(object) object.to_str end
def id?(object)
def id?(object) object =~ /\A(?:\w+-){4}\w+\Z/ if object.is_a? String end
def cast_id(object) object.to_str end
def id?(object) object =~ /\A(?:\w+-){4}\w+\Z/ if object.is_a? String end